{"_id":"pff","_rev":"331017","name":"pff","description":"Minimal implementation of printf, which is really fast","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"time":{"modified":"2021-06-07T02:46:27.000Z","created":"2014-06-18T17:01:40.200Z","1.0.0":"2015-03-31T10:41:47.161Z","0.2.0":"2014-07-03T05:39:56.149Z","0.1.1":"2014-06-19T07:38:02.419Z","0.1.0":"2014-06-19T07:16:42.768Z","0.0.1":"2014-06-19T05:28:13.018Z","0.0.0":"2014-06-18T17:01:40.200Z"},"users":{"sapjax":true,"sayanriju":true,"soldair":true},"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"repository":{"type":"git","url":"git@github.com:floatdrop/pff.git"},"versions":{"1.0.0":{"name":"pff","version":"1.0.0","description":"Minimal implementation of printf, which is really fast","main":"benchmark/split.js","files":["benchmark/split.js"],"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:floatdrop/pff.git"},"keywords":["printf","format","string"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/pff/issues"},"homepage":"https://github.com/floatdrop/pff","devDependencies":{"mocha":"~2.2.1","should":"~5.2.0"},"gitHead":"9212effb806120f6baa03bbd8183998af52977b4","_id":"pff@1.0.0","_shasum":"ea5f09ee6571cae292a78fc280905a3865668e78","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"ea5f09ee6571cae292a78fc280905a3865668e78","size":1903,"noattachment":false,"key":"/pff/-/pff-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pff/download/pff-1.0.0.tgz"},"directories":{},"publish_time":1427798507161,"_cnpm_publish_time":1427798507161,"_hasShrinkwrap":false},"0.2.0":{"name":"pff","version":"0.2.0","description":"Minimal implementation of printf, which is really fast","main":"benchmark/split.js","scripts":{"test":"mocha","bench":"matcha benchmark/index.js"},"repository":{"type":"git","url":"git@github.com:floatdrop/pff.git"},"keywords":["printf","format","string"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/pff/issues"},"homepage":"https://github.com/floatdrop/pff","devDependencies":{"gulp":"^3.8.1","gulp-jshint":"^1.6.3","gulp-mocha":"^0.4.1","gulp-watch":"^0.6.6-1","matcha":"^0.5.0","mocha":"^1.20.1","printf":"^0.2.0","run-sequence":"^0.3.6","should":"^4.0.4","sprint":"^0.3.1"},"gitHead":"571031df719e2dde127b9446015f83c883f73cd5","_id":"pff@0.2.0","_shasum":"b1c4ac076da1c454075e849ff46f0245fdb793e2","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"b1c4ac076da1c454075e849ff46f0245fdb793e2","size":4650,"noattachment":false,"key":"/pff/-/pff-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pff/download/pff-0.2.0.tgz"},"directories":{},"publish_time":1404365996149,"_hasShrinkwrap":false,"_cnpm_publish_time":1404365996149},"0.1.1":{"name":"pff","version":"0.1.1","description":"PrintF Ftw  ","main":"index.js","scripts":{"test":"mocha","bench":"matcha benchmark/index.js"},"repository":{"type":"git","url":"git@github.com:floatdrop/pff.git"},"keywords":["printf","format","string"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/pff/issues"},"homepage":"https://github.com/floatdrop/pff","devDependencies":{"gulp":"^3.8.1","gulp-jshint":"^1.6.3","gulp-mocha":"^0.4.1","gulp-watch":"^0.6.6-1","matcha":"^0.5.0","mocha":"^1.20.1","printf":"^0.2.0","run-sequence":"^0.3.6","should":"^4.0.4"},"gitHead":"ab3d871461eae6df5dde7b437af2a2cff780af03","_id":"pff@0.1.1","_shasum":"fdf673d2d0ba594cec9849bc8a2d3dadb31ee765","_from":".","_npmVersion":"1.4.15","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"fdf673d2d0ba594cec9849bc8a2d3dadb31ee765","size":4611,"noattachment":false,"key":"/pff/-/pff-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pff/download/pff-0.1.1.tgz"},"directories":{},"publish_time":1403163482419,"_hasShrinkwrap":false,"_cnpm_publish_time":1403163482419},"0.1.0":{"name":"pff","version":"0.1.0","description":"PrintF Ftw  ","main":"index.js","scripts":{"test":"mocha","bench":"matcha benchmark/index.js"},"repository":{"type":"git","url":"git@github.com:floatdrop/pff.git"},"keywords":["printf","format","string"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/pff/issues"},"homepage":"https://github.com/floatdrop/pff","devDependencies":{"gulp":"^3.8.1","gulp-jshint":"^1.6.3","gulp-mocha":"^0.4.1","gulp-watch":"^0.6.6-1","matcha":"^0.5.0","mocha":"^1.20.1","printf":"^0.2.0","run-sequence":"^0.3.6","should":"^4.0.4"},"gitHead":"37ada3f3703d609c546663f1dfb776d43bb4265e","_id":"pff@0.1.0","_shasum":"62792ef5a93c37876efe30b470f1138e32dd9012","_from":".","_npmVersion":"1.4.15","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"62792ef5a93c37876efe30b470f1138e32dd9012","size":4430,"noattachment":false,"key":"/pff/-/pff-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pff/download/pff-0.1.0.tgz"},"directories":{},"publish_time":1403162202768,"_cnpm_publish_time":1403162202768,"_hasShrinkwrap":false},"0.0.1":{"name":"pff","version":"0.0.1","description":"PrintF Ftw  ","main":"index.js","scripts":{"test":"mocha","bench":"matcha benchmark/index.js"},"repository":{"type":"git","url":"git@github.com:floatdrop/pff.git"},"keywords":["printf","format","string"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/pff/issues"},"homepage":"https://github.com/floatdrop/pff","devDependencies":{"gulp":"^3.8.1","gulp-jshint":"^1.6.3","gulp-mocha":"^0.4.1","gulp-watch":"^0.6.6-1","matcha":"^0.5.0","mocha":"^1.20.1","pretty-bytes":"^0.1.1","printf":"^0.2.0","run-sequence":"^0.3.6","should":"^4.0.4"},"gitHead":"db80e1f22c9fd8a03b3fdcd2afaf5515751dda8f","_id":"pff@0.0.1","_shasum":"71f36149fdf5b09d65165ea8dd5a537a2eba0d97","_from":".","_npmVersion":"1.4.15","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"71f36149fdf5b09d65165ea8dd5a537a2eba0d97","size":4153,"noattachment":false,"key":"/pff/-/pff-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pff/download/pff-0.0.1.tgz"},"directories":{},"publish_time":1403155693018,"_cnpm_publish_time":1403155693018,"_hasShrinkwrap":false},"0.0.0":{"name":"pff","version":"0.0.0","description":"PrintF Ftw  ","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:floatdrop/pff.git"},"keywords":["printf","format","string"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/pff/issues"},"homepage":"https://github.com/floatdrop/pff","devDependencies":{"gulp":"^3.8.1","gulp-jshint":"^1.6.3","gulp-mocha":"^0.4.1","gulp-watch":"^0.6.6-1","mocha":"^1.20.1","run-sequence":"^0.3.6","should":"^4.0.4"},"gitHead":"41f1b7a29dddbea63ff8b27a9ee103fdf4d2b810","_id":"pff@0.0.0","_shasum":"a64c4e2f36bbc0af69fc0e1548c74fbf5ed24b95","_from":".","_npmVersion":"1.4.15","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"a64c4e2f36bbc0af69fc0e1548c74fbf5ed24b95","size":2610,"noattachment":false,"key":"/pff/-/pff-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pff/download/pff-0.0.0.tgz"},"directories":{},"publish_time":1403110900200,"_cnpm_publish_time":1403110900200,"_hasShrinkwrap":false}},"readme":"# pff [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]\n> Minimal printf implementation\n\n__No more words, show me the numbers!__\n\n![image](https://cloud.githubusercontent.com/assets/365089/3465905/427d6f24-0274-11e4-9348-216df8f05060.png)\n\nRun yourself to get numbers relevant to your hardware:\n\n```bash\n$ npm i -g matcha printf sprint\n$ npm i\n$ matcha benchmark/index.js\n```\n\n## Usage\n\n```js\nvar pff = require('pff');\n\nconsole.log(pff('%s world from %d year!', 'Hello', 2014.7));\n// Hello world from 2014 year!\n```\n\n## Specifiers\n\n| Specifier     | What it does          | Example                     | Result           |\n| ------------: | --------------------- | --------------------------- | ---------------- |\n| **%s**        | String                | `pff('Hello %s', 'world')`  | `'Hello world'`  |\n| **%d**        | Floored number        | `pff('My age is %d', 13.2)` | `'My age is 13'` |\n| **%%**        | Percent               | `pff('100%%s cool!')`       | `'100%s cool!'`  |\n\nNot much, but hey! - it's fast!\n\n# License\n\nMIT (c) 2014 Vsevolod Strukchinsky (floatdrop@gmail.com)\n\n[npm-url]: https://npmjs.org/package/pff\n[npm-image]: http://img.shields.io/npm/v/pff.svg\n\n[travis-url]: https://travis-ci.org/floatdrop/pff\n[travis-image]: http://img.shields.io/travis/floatdrop/pff.svg\n","_attachments":{},"homepage":"https://github.com/floatdrop/pff","bugs":{"url":"https://github.com/floatdrop/pff/issues"},"license":"MIT"}