Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "feedback", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Fancier console.log for Node.js cli apps", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,1 +5,20 @@ feedback | ||
Fancier console.log for Node.js cli apps | ||
## Install | ||
``` | ||
npm install feedback --save | ||
``` | ||
## Usage | ||
```javascript | ||
var feedback = require('feedback'); | ||
feeback.write('message') // same as process.stdout | ||
feedback.writeln('message') // same as write() but begins with a new line | ||
feedback.info('message') // same as console.log() | ||
feedback.success('message') // same as console.log(), but adds "Success: " to beginning | ||
feedback.warn('message') // same as console.log(), but adds "Warning: " to beginning | ||
feedback.error('message') // same as console.log() but add "Error: " to beginning | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1984
24