0.2.2 • Published 8 years ago

teselecta v0.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

teselecta

JSON.stringify with colors

Screenshot

Usage:

var teselecta=require('teselecta'), text;

text=teselecta({
  wibbly:'wobbly',
  stuff:['timey', 'wimey'],
  releaseYear:1963,
  tardis:{
    type:'Space-time vessel',
    chameleonCircuit:{broken:true, works:false},
  }
});

console.log(text);

Change the default colors:

teselecta.QUOTATION='grey';
teselecta.KEY='blue';
teselecta.STRING='cyan';
teselecta.NUMBER='magenta';
teselecta.TRUE='green';
teselecta.FALSE='red';

Tests

Run tests with npm test or generate coverage reports with npm run test-cov.

License

MIT

0.3.0-rc1

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.5-beta

8 years ago

0.0.4-beta

8 years ago

0.0.3-beta

8 years ago

0.0.2-beta

8 years ago

0.0.1-beta

8 years ago