Lightweight format utility for the browser, based on util.format().
npm install format-utilTable of Contents
=================
* Format Util
* Install
* Usage
* Developer
* Test
* Spec
* Cover
* Browserify
* Lint
* Clean
* Docs
* Readme
* License
Format Util
===========
Lightweight format utility for the browser, based on util.format().
```
npm i format-util
`javascript`
var format = require('format-util')
, msg = format('%s', 'foo');
Run the test specifications:
``
npm test
Compile test specifications for the browser (open test/index.html):
``
npm run spec
Generate code coverage:
``
npm run cover
Create a standalone browserify build:
``
npm run browserify
Lint the source tree with jshint and jscs:
``
npm run lint
Remove generated files:
``
npm run clean
To generate all documentation:
``
npm run docs
Generate the project readme file mdp:
```
npm run readme
Everything is MIT. Read the license if you feel inclined.
Generated by mdp(1).
[node]: http://nodejs.org
[npm]: http://www.npmjs.org
[mdp]: https://github.com/tmpfs/mdp
[zephyr]: https://github.com/tmpfs/zephyr
[jshint]: http://jshint.com
[jscs]: http://jscs.info