npmlog-stub

0.0.1 • Public • Published

npmlog-stub

Sometimes you want to create a lib and have it work on it's own, but you also want to use it with npmlog. This will help :)

usage

npm i npmlog-stub

Now you can use the npm log functions in a stand alone lib:

 
var log = require('npmlog-stub');
 
log.info('This is a test');
 

It will write nothing, if npmlog is not also installed. If it's installed it will be used.

build status

Build Status

Readme

Keywords

none

Package Sidebar

Install

npm i npmlog-stub

Weekly Downloads

10

Version

0.0.1

License

BSD

Last publish

Collaborators

  • davglass