{"_id":"string-format-obj","_rev":"293908","name":"string-format-obj","description":"Replace tokens from a string with values of an object","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"stephenplusplus","email":""}],"time":{"modified":"2021-06-03T18:54:46.000Z","created":"2015-07-30T21:29:45.781Z","1.1.1":"2018-01-05T15:22:11.450Z","1.1.0":"2016-03-24T16:32:20.092Z","1.0.1":"2015-07-31T14:07:01.405Z","1.0.0":"2015-07-30T21:29:45.781Z"},"users":{},"author":{"name":"Stephen Sawchuk","email":"sawchuk@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/stephenplusplus/string-format-obj.git"},"versions":{"1.1.1":{"name":"string-format-obj","version":"1.1.1","description":"Replace tokens from a string with values of an object","main":"index.js","repository":{"type":"git","url":"git+https://github.com/stephenplusplus/string-format-obj.git"},"files":["index.js","license"],"scripts":{"test":"mocha"},"keywords":["values","tokens","string","format","printf","fmt"],"author":{"name":"Stephen Sawchuk","email":"sawchuk@gmail.com"},"license":"MIT","devDependencies":{"mocha":"^2.2.5"},"gitHead":"9fc2338807d510049aae47496be17bd74cb955d9","bugs":{"url":"https://github.com/stephenplusplus/string-format-obj/issues"},"homepage":"https://github.com/stephenplusplus/string-format-obj#readme","_id":"string-format-obj@1.1.1","_npmVersion":"5.5.1","_nodeVersion":"9.1.0","_npmUser":{"name":"stephenplusplus","email":"stephenplusplusplus@gmail.com"},"dist":{"shasum":"c7612ca4e2ad923812a81db192dc291850aa1f65","size":1459,"noattachment":false,"key":"/string-format-obj/-/string-format-obj-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-format-obj/download/string-format-obj-1.1.1.tgz"},"maintainers":[{"name":"stephenplusplus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-format-obj-1.1.1.tgz_1515165731368_0.26204705121926963"},"directories":{},"publish_time":1515165731450,"_hasShrinkwrap":false,"_cnpm_publish_time":1515165731450},"1.1.0":{"name":"string-format-obj","version":"1.1.0","description":"Replace tokens from a string with values of an object","main":"index.js","repository":{"type":"git","url":"git+https://github.com/stephenplusplus/string-format-obj.git"},"files":["index.js","license"],"scripts":{"test":"mocha"},"keywords":["values","tokens","string","format","printf","fmt"],"author":{"name":"Stephen Sawchuk","email":"sawchuk@gmail.com"},"license":"MIT","devDependencies":{"mocha":"^2.2.5"},"gitHead":"fb472ff25500c72b300a05f19be113be2a0f3f47","bugs":{"url":"https://github.com/stephenplusplus/string-format-obj/issues"},"homepage":"https://github.com/stephenplusplus/string-format-obj#readme","_id":"string-format-obj@1.1.0","_shasum":"7635610b1ef397013e8478be98a170e04983d068","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.8.0","_npmUser":{"name":"stephenplusplus","email":"sawchuk@gmail.com"},"dist":{"shasum":"7635610b1ef397013e8478be98a170e04983d068","size":1437,"noattachment":false,"key":"/string-format-obj/-/string-format-obj-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-format-obj/download/string-format-obj-1.1.0.tgz"},"maintainers":[{"name":"stephenplusplus","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/string-format-obj-1.1.0.tgz_1458837137683_0.7051755164284259"},"directories":{},"publish_time":1458837140092,"_cnpm_publish_time":1458837140092,"_hasShrinkwrap":false},"1.0.1":{"name":"string-format-obj","version":"1.0.1","description":"Replace tokens from a string with values of an object","main":"index.js","repository":{"type":"git","url":"git+https://github.com/stephenplusplus/string-format-obj.git"},"files":["index.js","license"],"scripts":{"test":"mocha"},"keywords":["values","tokens","string","format","printf","fmt"],"author":{"name":"Stephen Sawchuk","email":"sawchuk@gmail.com"},"license":"MIT","devDependencies":{"mocha":"^2.2.5"},"gitHead":"2716a4b4f7b95c4ac8ae5457fc4e68d319022116","bugs":{"url":"https://github.com/stephenplusplus/string-format-obj/issues"},"homepage":"https://github.com/stephenplusplus/string-format-obj#readme","_id":"string-format-obj@1.0.1","_shasum":"8569cc887b504336311ad1180725cf0ccd0739ec","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"stephenplusplus","email":"sawchuk@gmail.com"},"dist":{"shasum":"8569cc887b504336311ad1180725cf0ccd0739ec","size":1352,"noattachment":false,"key":"/string-format-obj/-/string-format-obj-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-format-obj/download/string-format-obj-1.0.1.tgz"},"maintainers":[{"name":"stephenplusplus","email":""}],"directories":{},"publish_time":1438351621405,"_cnpm_publish_time":1438351621405,"_hasShrinkwrap":false},"1.0.0":{"name":"string-format-obj","version":"1.0.0","description":"Replace tokens from a string with values of an object","main":"index.js","files":["index.js","license"],"scripts":{"test":"mocha"},"keywords":["values","tokens","string","format","printf","fmt"],"author":{"name":"Stephen Sawchuk","email":"sawchuk@gmail.com"},"license":"MIT","devDependencies":{"mocha":"^2.2.5"},"gitHead":"33209b73fbaa80f951326b563163861afc92e3b6","_id":"string-format-obj@1.0.0","_shasum":"e244ee01ee1cd7a9aaa836fa3a53b926e9584ed2","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"stephenplusplus","email":"sawchuk@gmail.com"},"dist":{"shasum":"e244ee01ee1cd7a9aaa836fa3a53b926e9584ed2","size":1314,"noattachment":false,"key":"/string-format-obj/-/string-format-obj-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-format-obj/download/string-format-obj-1.0.0.tgz"},"maintainers":[{"name":"stephenplusplus","email":""}],"directories":{},"publish_time":1438291785781,"_cnpm_publish_time":1438291785781,"_hasShrinkwrap":false}},"readme":"# string-format-obj\n> Replace tokens from a string with values of an object.\n\n```sh\n$ npm install --save string-format-obj\n```\n```js\nvar format = require('string-format-obj');\n\nformat('{greeting} {thing}!', {\n  greeting: 'Hello',\n  thing: 'world'\n});\n// Hello world!\n```\n\nIf you want to cache the string\n\n```js\nvar formatFunc = format('{greeting} {thing}!');\n\nformatFunc({\n  greeting: 'Howdy',\n  thing: 'doody'\n});\n// Howdy doody!\n```","_attachments":{},"homepage":"https://github.com/stephenplusplus/string-format-obj#readme","bugs":{"url":"https://github.com/stephenplusplus/string-format-obj/issues"},"license":"MIT"}