format-util
v1.0.5
Published
Lightweight format utility for the browser, based on util.format().
Downloads
3,404,136
Readme
Table of Contents
Format Util
Lightweight format utility for the browser, based on util.format().
Install
npm i format-utilUsage
var format = require('format-util')
, msg = format('%s', 'foo');Developer
Test
Run the test specifications:
npm testSpec
Compile test specifications for the browser (open test/index.html):
npm run specCover
Generate code coverage:
npm run coverBrowserify
Create a standalone browserify build:
npm run browserifyLint
Lint the source tree with jshint and jscs:
npm run lintClean
Remove generated files:
npm run cleanDocs
To generate all documentation:
npm run docsReadme
Generate the project readme file mdp:
npm run readmeLicense
Everything is MIT. Read the license if you feel inclined.
Generated by mdp(1).
