Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

feedback

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feedback - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"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
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc