
Research
5 Malicious Chrome Extensions Enable Session Hijacking in Enterprise HR and ERP Systems
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.
Base plugin that adds methods for programmatically running npm commands.
You might also be interested in base-bower.
Install with npm:
$ npm install --save base-npm
Note that if you use base directly you will also need to let the plugin know that it is being registered on a Base "application" (since Base can be used to create anything, like views, collections etc.).
var npm = require('base-npm');
var Base = require('base');
var app = new Base({isApp: true}); // <=
app.use(npm());
// install npm packages `micromatch` and `is-absolute` to devDependencies
app.npm.devDependencies(['micromatch', 'is-absolute'], function(err) {
if (err) throw err;
});
Execute npm install with the given args, package names and callback.
Params
args {String|Array}names {String|Array}cb {Function}: CallbackExample
app.npm('--save', ['isobject'], function(err) {
if (err) throw err;
});
Install one or more packages. Does not save anything to package.json. Equivalent of npm install foo.
Params
names {String|Array}: package namescb {Function}: CallbackExample
app.npm.install('isobject', function(err) {
if (err) throw err;
});
(Re-)install and save the latest version of all dependencies and devDependencies currently listed in package.json.
Params
cb {Function}: CallbackExample
app.npm.latest(function(err) {
if (err) throw err;
});
Execute npm install --save with one or more package names. Updates dependencies in package.json.
Params
names {String|Array}cb {Function}: CallbackExample
app.npm.dependencies('micromatch', function(err) {
if (err) throw err;
});
Execute npm install --save-dev with one or more package names. Updates devDependencies in package.json.
Params
names {String|Array}cb {Function}: CallbackExample
app.npm.devDependencies('isobject', function(err) {
if (err) throw err;
});
Execute npm install --global with one or more package names.
Params
names {String|Array}cb {Function}: CallbackExample
app.npm.global('mocha', function(err) {
if (err) throw err;
});
Check if one or more names exist on npm.
Params
names {String|Array}cb {Function}: Callbackreturns {Object}: Object of results where the key is the name and the value is true or false.Example
app.npm.exists('isobject', function(err, results) {
if (err) throw err;
console.log(results.isobject);
});
//=> true
v0.4.1
app.cwd when available to ensure npm modules are installed to the correct folderv0.4.0
global method for installing with the --global flagexists method for checking if a package exists on npmaskInstall method (moved to base-npm-prompt)v0.3.0
dependencies methoddevDependencies methodPull requests and stars are always welcome. For bugs and feature requests, please create an issue.
(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)
To generate the readme and API documentation with verb:
$ npm install -g verb verb-generate-readme && verb
Install dev dependencies:
$ npm install -d && npm test
Jon Schlinkert
Copyright © 2016, Jon Schlinkert. Released under the MIT license.
This file was generated by verb-generate-readme, v0.1.30, on September 11, 2016.
FAQs
Base plugin that adds methods for programmatically running npm commands.
The npm package base-npm receives a total of 1,956 weekly downloads. As such, base-npm popularity was classified as popular.
We found that base-npm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.