Socket
Book a DemoInstallSign in
Socket

npmlog-stub

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

npmlog-stub

npmlog stub functions

latest
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

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

Keywords

npmlog

FAQs

Package last updated on 13 Feb 2014

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