New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

up2date

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

up2date

Ensure your CLI module is npm updated before it s run.

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

up2date

Node module to ensure your modules are up to date before the process get s run.

Sometimes you need to distribute binary to some module, node made it so easy, but those people may not be familiar with nodes ect.

To make that process of keeping the bin up to date, i made that module to put into your binary before they are run.

Usage

var stayTune = require('up2date');

stayTune(__dirname, function(hasFailed){
    // you could use inquirer to ask user if he wants stop or continue from here with pbbly not up2date local install.
    // That is your matter.
    if(hasFailed) throw 'can t update your modules.';
    
    // then load your binary as usual with commander.js or minimist ect
    // be careful to load your module after stayTune finished.
    
    var program = require('commnder');
    program.some...
    
    program.parse(....);
    
});

FAQs

Package last updated on 05 May 2015

Did you know?

Socket

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.

Install

Related posts