{"_id":"sprintfit","_rev":"5-07cd9a97895df8211c643388f15d07b1","name":"sprintfit","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.1":{"name":"sprintfit","description":"Small sprintf and vsprintf format specifier focused on strings.","repository":{"type":"git","url":"git+https://github.com/joseluisq/sprintfit.git"},"version":"0.0.1","license":"MIT","author":{"name":"José Luis Quintana","url":"http://git.io/joseluisq"},"main":"index.js","typings":"index.d.ts","files":["index.js","index.d.ts","/*.min.js","README.md","LICENSE.md"],"keywords":["sprintf","vsprintf","string","formatter","utilities"],"devDependencies":{"@types/jasmine":"^2.8.8","@types/node":"^10.5.3","jasmine":"^3.1.0","jasmine-core":"^3.1.0","jasmine-spec-reporter":"^4.2.1","karma":"^2.0.4","karma-chrome-launcher":"^2.2.0","karma-jasmine":"^1.1.2","karma-jasmine-html-reporter":"^1.2.0","karma-spec-reporter":"^0.0.32","karma-typescript":"^3.0.13","rollup":"^0.63.4","rollup-plugin-terser":"^1.0.1","rollup-plugin-typescript2":"^0.16.1","terser":"^3.8.1","tslint":"^5.11.0","tslint-config-standard-plus":"^2.0.0","typescript":"^2.9.2"},"scripts":{"version":"npm run build","build":"npm run test && npm run clean && npm run compile","compile":"npm run compile:browser && npm run compile:cjs","compile:cjs":"tsc --module commonjs --target es5","compile:browser":"rollup -c","watch":"tsc --watch","clean":"rm -rf dist","test":"npm run lint && karma start --single-run --reporters spec","test:watch":"env NODE_ENV=debug karma start","lint":"tslint --format stylish --project tsconfig.json"},"gitHead":"b018976ffd735813dd8725dae3e23d22ca0259cc","bugs":{"url":"https://github.com/joseluisq/sprintfit/issues"},"homepage":"https://github.com/joseluisq/sprintfit#readme","_id":"sprintfit@0.0.1","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"joseluisq","email":"joseluisquintana20@gmail.com"},"dist":{"integrity":"sha512-BnEVSUrgkYj/o3MbDwJ3qLn9b+iVLGA0i0YPD3MmvZYiIS6uNAAMoFrlD4iLnCrsda47zCD4fv/t1wkbD8po6g==","shasum":"079197499e283e74967d46cef06ea3aaf922be1d","tarball":"https://registry.npmjs.org/sprintfit/-/sprintfit-0.0.1.tgz","fileCount":6,"unpackedSize":6482,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbWPl/CRA9TVsSAnZWagAAr+kP/A4nCF/bj7TzEg4c6GQQ\nCOOK70u0FtYmraWM3Fd+05sZ+C3tkmp3I+TZrlobBbgbhm7S48PdyFsje48P\naf93z2xcARrOrRkvf0AxVmUcQ2X6jWLkBEOEmaUSoUdqGDQ3TwilrtZ8od2u\nrkBjAPgtls0UBr0yHkUy5kOrWy2p1DjizCOBQtFz4RCURHrPpFZNNT9WULbc\nWetuC0HS9/rf9iRz0R9SnLm2go1ld502pqlpLYHaoxnn3FkFM5CTgYOxG06X\nMyUC9AU2cGje+ZyN9xAXIZGRy0r9po3k4gktiZqDe3V6J90jd27aDlr4oVP2\nWMk0Mg+MDB8jmAaFWM6hKYhec2q3d0GQK1+0Tsck1rXc8WS/x8X6XVsA097d\n6+XhqDYk1+Ln+d4VnhN5oEtZ29f+s5se+SXpD9WyDNrvq6TSjmNDJGChWuy+\nNSMf2SsiXQOaodNai4e8wFQTBfl2PiprbIpwDXU7iKUzCklkOFS4+wDVrnq2\nb7gwJPH6nliSjfgh1ObyQHr3VqRzySTxB4K+Zk98b8nlag9/ebakdIgeAwWV\nW6d6bpNtgQUywEAe9DgZWm8U+bmN1cFy31QM72v5dJEVUJkC8bY/d87TpvMj\nR04TEtdV/jcUbmpNOBRi0plaNyC15sMNzNohz2XQYbZshvM+IrZYaJ6jKAIl\nhedD\r\n=vSsN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGFrM36naAv7LxBtmA1hbT6ZQbnhgXsuMlxz9FfPUEGQAiEAmctcpdV/sYApwrjoFXwoVqtmiRyJtEm/WZC9mnBJvzc="}]},"maintainers":[{"name":"joseluisq","email":"joseluisquintana20@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sprintfit_0.0.1_1532557695211_0.475541067465421"},"_hasShrinkwrap":false},"1.0.0":{"name":"sprintfit","description":"Small sprintf and vsprintf format specifier focused on strings.","repository":{"type":"git","url":"git+https://github.com/joseluisq/sprintfit.git"},"version":"1.0.0","license":"MIT","author":{"name":"José Luis Quintana","url":"http://git.io/joseluisq"},"main":"index.js","typings":"index.d.ts","files":["index.js","index.d.ts","/*.min.js","README.md","LICENSE.md"],"keywords":["sprintf","vsprintf","string","formatter","utilities"],"devDependencies":{"@types/jasmine":"^2.8.8","@types/node":"^10.5.3","jasmine":"^3.1.0","jasmine-core":"^3.1.0","jasmine-spec-reporter":"^4.2.1","karma":"^2.0.5","karma-chrome-launcher":"^2.2.0","karma-jasmine":"^1.1.2","karma-jasmine-html-reporter":"^1.2.0","karma-spec-reporter":"^0.0.32","karma-typescript":"^3.0.13","rollup":"^0.63.4","rollup-plugin-terser":"^1.0.1","rollup-plugin-typescript2":"^0.16.1","terser":"^3.8.1","tslint":"^5.11.0","tslint-config-standard-plus":"^2.0.0","typescript":"^2.9.2"},"scripts":{"version":"npm run build","build":"npm run test && npm run clean && npm run compile","compile":"npm run compile:browser && npm run compile:cjs","compile:cjs":"tsc --module commonjs --target es5","compile:browser":"rollup -c","watch":"tsc --watch","clean":"rm -rf dist","test":"npm run lint && karma start --single-run --reporters spec","test:watch":"env NODE_ENV=debug karma start","lint":"tslint --format stylish --project tsconfig.json"},"gitHead":"84892dd60a64406e397bf2acc5d1f32804639715","bugs":{"url":"https://github.com/joseluisq/sprintfit/issues"},"homepage":"https://github.com/joseluisq/sprintfit#readme","_id":"sprintfit@1.0.0","_shasum":"7ef27153500f18b9321a629dd93b7fd89f190722","_from":".","_npmVersion":"3.10.10","_nodeVersion":"8.11.3","_npmUser":{"name":"joseluisq","email":"joseluisquintana20@gmail.com"},"dist":{"shasum":"7ef27153500f18b9321a629dd93b7fd89f190722","tarball":"https://registry.npmjs.org/sprintfit/-/sprintfit-1.0.0.tgz","fileCount":6,"unpackedSize":7451,"integrity":"sha512-p7Q9ibBVsXZJL/CRlL+JhE98HZeMH6dgPiPcAqLO1yhp6WQlWGJ8PcjAg6xwY7BHdXpMJgf5LvN4PXxBJRBZtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDF6S743pHepGdO0bVxKkcgR9Pf4qRCL/oO+y66qAsW6AiEAtvyg8M3Ua01CJXVjMhESI8GEpnpY5i/GM4mYtVgJsdk="}]},"maintainers":[{"name":"joseluisq","email":"joseluisquintana20@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sprintfit_1.0.0_1532594940341_0.5617352643682088"},"_hasShrinkwrap":false},"1.0.1":{"name":"sprintfit","description":"Small sprintf and vsprintf format specifier focused on strings.","repository":{"type":"git","url":"git+https://github.com/joseluisq/sprintfit.git"},"version":"1.0.1","license":"MIT","author":{"name":"José Luis Quintana","url":"http://git.io/joseluisq"},"main":"index.js","typings":"index.d.ts","files":["index.js","index.d.ts","/*.min.js","README.md","LICENSE.md"],"keywords":["sprintf","vsprintf","string","formatter","utilities"],"devDependencies":{"@types/benchmark":"^1.0.31","@types/jasmine":"^2.8.8","@types/node":"^10.5.4","@types/sprintf-js":"^1.1.0","benchmark":"^2.1.4","jasmine":"^3.1.0","jasmine-core":"^3.1.0","jasmine-spec-reporter":"^4.2.1","karma":"^2.0.5","karma-benchmark-reporter":"^0.1.1","karma-chrome-launcher":"^2.2.0","karma-jasmine":"^1.1.2","karma-jasmine-html-reporter":"^1.2.0","karma-spec-reporter":"^0.0.32","karma-typescript":"^3.0.13","printj":"^1.1.2","rollup":"^0.63.4","rollup-plugin-terser":"^1.0.1","rollup-plugin-typescript2":"^0.16.1","sprintf-js":"^1.1.1","terser":"^3.8.1","ts-node":"^7.0.0","tslint":"^5.11.0","tslint-config-standard-plus":"^2.0.0","typescript":"^2.9.2"},"scripts":{"version":"npm run build","build":"npm run test && npm run clean && npm run compile","compile":"npm run compile:browser && npm run compile:cjs","compile:cjs":"tsc --module commonjs --target es5","compile:browser":"rollup -c","watch":"tsc --watch","clean":"rm -rf dist","test":"npm run lint && karma start --single-run --reporters spec","test:watch":"env NODE_ENV=debug karma start","benchmark":"env NODE_ENV=development node benchmark.js","lint":"tslint --format stylish --project tsconfig.json"},"gitHead":"c6b67d9d8f69a304fc7832fb58c30ee9ab4d4dd0","bugs":{"url":"https://github.com/joseluisq/sprintfit/issues"},"homepage":"https://github.com/joseluisq/sprintfit#readme","_id":"sprintfit@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"joseluisq","email":"joseluisquintana20@gmail.com"},"dist":{"integrity":"sha512-oY7kiInw+HvkFMxBpgP5uGB9qCWTzHnW8++aSsTx6LhwAUU8D0Tph+RcmDYjoQLUmLzftQaGnju2ygVFnxmGHQ==","shasum":"f3f1770a48df6cfae64dd54f9443dd173d4ed4d1","tarball":"https://registry.npmjs.org/sprintfit/-/sprintfit-1.0.1.tgz","fileCount":6,"unpackedSize":8594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYNo0CRA9TVsSAnZWagAAKyQP/RxrNmwuS65WsMryqNyU\nVNM8AQfHD41G4HaZbra/2UwflZ8YKGW+/bwiJOgaTie4G8pjTF/+LLFS57Mt\n6rJXxv4fd0avw7kDLIfYUsxMugRRfaKWfUgHOST6bbKMGDJM0UunS4RpPz66\nHox1z/bNcnE4Ym+EcDJypMxqJ+nHQE6VaFjKb+b5oOwc4LvRojeHypIaAPk/\nJVCDrRC69cSAgLRTamBe3B+wjkcft9qoy0/5vFuVF+92NQZObzyK8w2O5RAJ\nBVNx2NRtuK4m9zVg/LIzvF0XOu3N9ItmdR8BKpkIsaG6Lg27VpnXcWxb2Qu1\nXQ3X3SBeSJMM9xWH+WCHJw474PE8dsQ7lpk/7Yk5q2xg2HFCzx6VfA8zarsp\n5l36Il1281rT1Js2ZWHMEYY/QLgIaJk+vj4QgGw/qvw401ZRyLB5Vl2znQvx\nwe/C+Ix5hI+GRtETrOYtZxl5UsIG2AXyqsP03qG9RRejvTCYUBgxSmXKEFea\nk8QOlwPnMvCxdlnnYaRa+IzWZFh4lHLOMrAMvJFizhDHdnbKrG3aPtcm9tGZ\n9ahJyTmLcopxFcxQlOU4ZtvtCyPtv/QRUmqyHLGs5aXL77ISc86YOKy5g7iM\n0mb9CCL3I8AX/YvGzImh0hyvyIP1JrUlLStsaY7SqVRTKRKl9e3lazet+YyB\n0v32\r\n=F/+V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHnHjyZFhlOn/+5Pgy/0HaubIn/qZYXyfL2ayc4hL87HAiB8T5bytBCZT8KRDF9jJ2ybwfQ9Hk+7S2cIZ2lU5IOkrg=="}]},"maintainers":[{"name":"joseluisq","email":"joseluisquintana20@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sprintfit_1.0.1_1533073971964_0.6892052074739226"},"_hasShrinkwrap":false}},"time":{"created":"2018-07-25T22:28:15.210Z","0.0.1":"2018-07-25T22:28:15.316Z","modified":"2022-06-26T23:08:16.484Z","1.0.0":"2018-07-26T08:49:00.450Z","1.0.1":"2018-07-31T21:52:52.058Z"},"maintainers":[{"name":"joseluisq","email":"joseluisquintana20@gmail.com"}],"description":"Small sprintf and vsprintf format specifier focused on strings.","homepage":"https://github.com/joseluisq/sprintfit#readme","keywords":["sprintf","vsprintf","string","formatter","utilities"],"repository":{"type":"git","url":"git+https://github.com/joseluisq/sprintfit.git"},"author":{"name":"José Luis Quintana","url":"http://git.io/joseluisq"},"bugs":{"url":"https://github.com/joseluisq/sprintfit/issues"},"license":"MIT","readme":"# Sprintfit [![Build Status](https://travis-ci.org/joseluisq/sprintfit.svg?branch=master)](https://travis-ci.org/joseluisq/sprintfit) [![npm](https://img.shields.io/npm/v/sprintfit.svg)](https://www.npmjs.com/package/sprintfit) [![npm](https://img.shields.io/npm/dt/sprintfit.svg)](https://www.npmjs.com/package/sprintfit) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n> Small sprintf and vsprintf format specifier focused on strings. :zap:\n\n*__:information_source: Notice:__ `sprintf` and `vsprintf` will treat their arguments as strings only. If you are looking for the full specification you could try [sprintf.js](https://github.com/alexei/sprintf.js) or [printj](https://github.com/SheetJS/printj).*\n\n## Install\n\n[Yarn](https://github.com/yarnpkg/)\n\n```sh\nyarn add sprintfit\n```\n\n[NPM](https://www.npmjs.com/)\n\n```sh\nnpm install sprintfit\n```\n\n[UMD](https://github.com/umdjs/umd/) file is also available on [unpkg](https://unpkg.com):\n\n```html\n<script src=\"https://unpkg.com/sprintfit/sprintfit.umd.min.js\"></script>\n```\n\nYou can use the library via `window.sprintfit`.\n\n## Usage\n\n### sprintf\n\nReturn a formatted string and accepts a variable number of arguments.\n\n```js\nimport { sprintf } from 'sprintfit'\n\nsprintf('date: %s-%s-%s', 2018, 07, 25)\n// date: 2018-07-25\n```\n\n### vsprintf\n\nOperates as `sprintf()` but accepts an array of arguments.\n\n```js\nimport { vsprintf } from 'sprintfit'\n\nvsprintf('date: %s-%s-%s', [ 2018, 07, 28 ])\n// date: 2018-07-28\n```\n\n### Benchmarks\n\n- Node: `v8.11.3`\n- [BenchmarkJS](https://benchmarkjs.com): `^2.1.4`\n- [Sprintf-js][2]: `^1.1.1`\n- [Printj][3]: `^1.1.2`\n\n```sh\nyarn benchmark\n```\n\n#### sprintf\n\n| package | ops/sec | rme\n--- | --- | ---\n[Sprintfit][1] | __2,601,688__ | ±5.19% (77 runs sampled)\n[SprintfJS][2] | 1,117,038 | ±1.66% (60 runs sampled)\n[PrintJ][3] | 1,046,954 | ±2.78% (91 runs sampled)\n\n_Done in 18.00s._\n\n#### vsprintf\n\n| package | ops/sec | rme\n--- | --- | ---\n[Sprintfit][1] | __2,774,358__ | ±4.03%  (79 runs sampled)\n[PrintJ][3] | 905,327 | ±3.64% (79 runs sampled)\n[SprintfJS][2] | 675,621 | ±7.06% (63 runs sampled)\n\n_Done in 18.34s._\n\n[1]: https://github.com/joseluisq/sprintfit\n[2]: https://github.com/alexei/sprintf.js\n[3]: https://github.com/SheetJS/printj\n\n## Contributions\n\nFeel free to send some [Pull request](https://github.com/joseluisq/sprintfit/pulls) or [issue](https://github.com/joseluisq/sprintfit/issues).\n\n## License\nMIT license\n\n© 2018 [José Luis Quintana](http://git.io/joseluisq)\n","readmeFilename":"README.md"}