Socket
Socket
Sign inDemoInstall

single-line-log

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

single-line-log - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

3

index.js

@@ -26,2 +26,5 @@ var MOVE = new Buffer('1b5b3130303044', 'hex').toString();

module.exports = log;
module.exports.clear = function() {
process.stdout.write('');
};

@@ -28,0 +31,0 @@ if (require.main !== module) return;

2

package.json

@@ -17,5 +17,5 @@ {

],
"version": "0.1.2",
"version": "0.2.0",
"repository": "git://github.com/freeall/single-line-log.git",
"author": "Tobias Baunbæk <freeall@gmail.com>"
}

@@ -29,4 +29,16 @@ # single-line-log

## .clear()
Clears the log (i.e., writes a newline).
``` js
var log = require('single-line-log');
log('Line 1');
log.clear()
log('Line 2');
```
## License
MIT
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