Showing posts with label Runtime system. Show all posts
Showing posts with label Runtime system. Show all posts

Wednesday, March 23, 2016

npm: Using npm Package Manager for Node.js to Install Node Module Lodash

Installation command:
$ npm install lodash

index.js:

var lodash = require('lodash');
var output = lodash.without([1, 2, 3], 1);
console.log(output);

Executing index.js:

[ 2, 3 ]

Saturday, February 13, 2016