1.0.0 • Published 10 years ago
npad v1.0.0
npad
left and right padding for NodeJS
v1.0.0
NodeJS >= 4
Instalation
npm i --save npadUsage
var pad = require('npad')
console.log(pad.left('foo', 5)) // print ` foo`
console.log(pad.right('bar', 10, '.')) // print `bar.......`Development
this projet has been set up with a precommit that forces you to follow a code style, no jshint issues and 100% of code coverage before commit
to run test
npm testto run jshint
npm run lintto run code style
npm run styleto run code coverage
npm run coverageto open the code coverage report
npm run coverage:open1.0.0
10 years ago
