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

carpet

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carpet - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

.npmignore

1

lib/carpet.js

@@ -76,2 +76,3 @@ require('colors');

helper.e = helper.error;
helper.err = helper.error;

@@ -78,0 +79,0 @@ function log() {

2

package.json
{
"name": "carpet",
"description": "log log log",
"version": "0.0.2",
"version": "0.0.3",
"author": "Mircea Nistor <mirceanis@gmail.com>",

@@ -6,0 +6,0 @@ "contributors": [

@@ -24,2 +24,13 @@ carpet

Also accepts multiple arguments
var log = require('carpet');
log("loook ma' %s formatted output !!!%doneoneeleven", "this is", 1);
## TODO
Log levels only change color but it might be necessary to limit log output so..
//TODO: log.setLevel("debug" /../ "error");

@@ -48,2 +59,11 @@ //TODO: load log level from environment variable

0.0.3
- some cleanup
0.0.2
- shorter member function names
- can also be called directly, equivalent to log.info()
0.0.1:

@@ -53,5 +73,2 @@

0.0.2
- shorter member function names
- can also be called directly, equivalent to log.info()
var log = require('./lib/carpet');
require('colors');

@@ -11,13 +12,11 @@ console.log(log);

log.log("loook ma' %s formatted output !!!%doneoneeleven", "this is", 1);
log.log("loook ma' %s formatted output !!!%doneoneeleven", "this is".red, 1);
log.log("next one is empty");
log.log();
log.log("objects: ", {a : 2, b : ['a', 's', undefined, 'f'], c : { b : { a : 2}}});
log.e({a : 2, b : ['a', 's', undefined, 'f'], c : { b : { a : 2}}}, "objects first ");
log("calling it short");
log.w("calling a warning");
log.w("calling a short warning");

Sorry, the diff of this file is not supported yet

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