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

style

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

style - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

README.md

4

error.js

@@ -1,2 +0,2 @@

var style = require('style');
var style = require('./');

@@ -55,3 +55,3 @@ exports.printError = printError

if(row.file){
var file = row.file.replace(process.ENV.NODE_PATH,'$')
var file = row.file.replace(process.env.NODE_PATH,'$')

@@ -58,0 +58,0 @@ return style(style(" " + row.function).yellow.rpad(30,style('.').grey)

{
"name": "style",
"description": "color in your node.js console, without monkeypatching",
"version": "0.0.2",
"version": "0.0.3",
"author": "Dominic Tarr <dominic.tarr@gmail.com>",

@@ -15,3 +15,4 @@ "repository": "http://github.com/dominictarr/colors.js.git",

"devDependencies":{
"expresso": ">=0.6.0"
"synct": "1",
"should": "*"
},

@@ -28,2 +29,2 @@ "directories": {

}
}
}

@@ -5,9 +5,9 @@ <h1>colors.js - get color and style in your node.js console like what</h1>

var sys = require('sys');
var util = require('util');
var style = require('style');
sys.puts(style('hello').green); // outputs green text
sys.puts(style('i like cake and pies').underline.red) // outputs red underlined text
sys.puts(style('inverse the color').inverse); // inverses the color
sys.puts(style('OMG Rainbows!').rainbow); // rainbow (ignores spaces)
util.puts(style('hello').green); // outputs green text
util.puts(style('i like cake and pies').underline.red) // outputs red underlined text
util.puts(style('inverse the color').inverse); // inverses the color
util.puts(style('OMG Rainbows!').rainbow); // rainbow (ignores spaces)

@@ -18,6 +18,6 @@ ##disable style, for plain output

sys.puts(style('hello').green); // plain text
sys.puts(style('i like cake and pies').underline.red) // plain text
sys.puts(style('inverse the color').inverse); // plain text
sys.puts(style('OMG Rainbows!').rainbow); // plain text
util.puts(style('hello').green); // plain text
util.puts(style('i like cake and pies').underline.red) // plain text
util.puts(style('inverse the color').inverse); // plain text
util.puts(style('OMG Rainbows!').rainbow); // plain text

@@ -24,0 +24,0 @@ //ALSO: does not monkeypatch string with 13 new properties!

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