format-util
Lightweight util.format() for the browser.
Last updated 9 years ago by muji .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install format-util 
SYNC missed versions from official npm registry.

Table of Contents

Format Util

Build Status npm version Coverage Status.

Lightweight format utility for the browser, based on util.format().

Install

npm i format-util

Usage

var format = require('format-util')
  , msg = format('%s', 'foo');

Developer

Test

Run the test specifications:

npm test

Spec

Compile test specifications for the browser (open test/index.html):

npm run spec

Cover

Generate code coverage:

npm run cover

Browserify

Create a standalone browserify build:

npm run browserify

Lint

Lint the source tree with jshint and jscs:

npm run lint

Clean

Remove generated files:

npm run clean

Docs

To generate all documentation:

npm run docs

Readme

Generate the project readme file mdp:

npm run readme

License

Everything is MIT. Read the license if you feel inclined.

Generated by mdp(1).

Current Tags

  • 1.0.5                                ...           latest (5 years ago)

5 Versions

  • 1.0.5                                ...           5 years ago
  • 1.0.4                                ...           5 years ago
  • 1.0.3                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (4)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE