Socket
Book a DemoInstallSign in
Socket

consolemark

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consolemark

try parse to something console con display.

Source
npmnpm
Version
0.0.1
Version published
Maintainers
0
Created
Source

Use ansi color to render the output on console screen;

output

###Install

npm install consolemark

###Tags

Similar to html tag, text text

See details at example/exmaple.cmk file ; ####Current support tags

red, yellow, gree, white, cyan, magenta, blue, grey

###Usage

####Require

var util = require('util');
cmk = require('consolemark');

cmk.render('./test.cmk', function(err, data) {
  if (err) {throw err;}
  data.forEach(function(d) { // return a array of colorful string
    util.print(d);
  });
 });

####Commandline tool

cmk path/to/file

FAQs

Package last updated on 14 Apr 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts