New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-styl-theme

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-styl-theme

theming tool for with node-styl and node-styl-rgb

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

node-styl-theme

theming tool for therminal with node-styl and node-styl-rgb.

TODO ...

Exemple


const Theme= require('node-styl-theme');
let theme=Theme.c16m.get({
	$alias1:[255,0,0],
	exemple1:{
		front:'alias1',
		back:[0,0,255]
	}
});
let theme16=Theme.c16.get({
	$alias1:'green',
	exemple1:{
		front:'alias1',
		back:'red',
		style:['bold']
	}
});

console.log("___ "+theme.exemple1('world'));
console.log("___ "+theme16.exemple1('world'));

let themejson=Theme.c16m.load('./test-theme.json');
console.log("___ "+themejson.exemple1('world'));

with test-theme.json as

{
	"$alias1":[255,0,0],
	"exemple1":{
		"front":"alias1",
		"back":[0,0,255]
	}
}

Keywords

console

FAQs

Package last updated on 20 Oct 2019

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