0.2.0 • Published 9 years ago
nformat v0.2.0
nformat
simple number/string format
Installation
This module is installed via npm:
$ npm install nformat
Example Usage
var nFormat = require('nformat');
assert.equal(nFormat(12345678, '***-***:*** *'), '123-456:78');
assert.equal(nFormat(123456789, '***-***-***'), '123-456-789');