JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 818818
  • Score
    100M100P100Q185389F
  • License MIT

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

Package Exports

  • format-util

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (format-util) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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).