{"name":"quick-format-unescaped","version":"3.0.2","description":"Solves a problem with util.format","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test"},"author":{"name":"David Mark Clements"},"devDependencies":{"fastbench":"^1.0.1"},"dependencies":{},"repository":{"type":"git","url":"git+https://github.com/davidmarkclements/quick-format.git"},"keywords":[],"license":"MIT","bugs":{"url":"https://github.com/davidmarkclements/quick-format/issues"},"homepage":"https://github.com/davidmarkclements/quick-format#readme","gitHead":"8baa0264f202772356f38d09cb7dcb51ef2100db","_id":"quick-format-unescaped@3.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"},"dist":{"integrity":"sha512-FXTaCkwvpIlkdKeGDNgcq07SXWS383noQUuZjvdE1QcTt+eLuqof6/BDiEPqB59FWLie/l91+HtlJSw7iCViSA==","shasum":"0137e94d8fb37ffeb70040535111c378e75396fb","tarball":"http://registry-npm.ywwl.com/quick-format-unescaped/download/quick-format-unescaped-3.0.2.tgz","fileCount":7,"unpackedSize":9507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWaUACRA9TVsSAnZWagAATY8P/ikgZ3sjk9SG8nrPu0J5\nZqG311OWeidVUutKBPr151trhpnvX2lJkMwePe3XO441pE+3wyYq2Xz+4riX\nmpyn51IotA2wMtze5Xn31rTRzjy40ImtoexRy4GyCBzv12PO14x5dSgDLKbb\n3d4twP2X4Rds6iF7PhQr0+qfIG+OmvNXMG/vdq9xplVlIqGozDE3sG9kB5lo\nvr6Gq8eLRc2jS2fH/lfBPErOvRHciUfPqzhRhuFt9zUmxpBpHUpNdpnotlFO\nXyX5THQ8l8ckpPrWn9wflu6wLhz6gUOiMskue+GTGI9FL9WM3h6fHlf4Qtjk\nTwEwXUpy0p1/3ZoUnVMqYYZgT11dx4M7sBDTQOyOCufDQMuPFK0b9NtSs0TX\nwvYG3xnRGk4FITy867Jeljjaj3yO8h6MPcW653iDyfHodXMYneVBmq6aOZCg\n3WBVX8xBkbaoswSfyZgezTwAOQNdFSxb1xXFIDfSG5guikJDMP+JWgCynoo6\n3rK9wc3/kA61gFsK0j3VLgh2LvNbYdzzcLtzaZ7RR2Re4GDoTenADTiBHk9C\nl/FU2DlI0ezNIDomhM3s/o+55URmCS6rXx6idb1D2vqh1H3MvEkKFXLoDq2l\niyG06fCoguG0QYVu7H9RvgBJZzEjJ1N4hq5ejePQOaX/mqdPDoUI7iVf/N+V\nfFlq\r\n=rUHO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICzGD6qEuFz41j0ZcSxlBB4FlTswn4bhy8J4ZaTKaWCVAiEA7qP50LwrYCD1LEOPDvht9GyrZBry8amD7iljkQ3OsPY="}],"size":3446,"noattachment":false,"key":"/quick-format-unescaped/-/quick-format-unescaped-3.0.2.tgz"},"maintainers":[{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quick-format-unescaped_3.0.2_1549378815585_0.023876932294962128"},"_hasShrinkwrap":false,"readme":"# quick-format-unescaped\n\n## unescaped ?\n\nSometimes you want to embed the results of quick-format into another string, \nand then escape the whole string. \n\n## usage\n\n```js\nvar format = require('quick-format-unescaped')\nformat('hello %s %j %d', ['world', [{obj: true}, 4, {another: 'obj'}]])\n```\n\n## format(fmt, parameters, [options])\n\n### fmt\n\nA `printf`-like format string. Example: `'hello %s %j %d'`\n\n### parameters\n\nArray of values to be inserted into the `format` string. Example: `['world', {obj:true}]`\n\n### options.stringify\n\nPassing an options object as the third parameter with a `stringify` will mean \nany objects will be passed to the supplied function instead of an the \ninternal `tryStringify` function. This can be useful when using augmented\ncapability serializers such as [`fast-safe-stringify`](http://github.com/davidmarkclements/fast-safe-stringify) or [`fast-redact`](http://github.com/davidmarkclements/fast-redact).  \n\n## caveats\n\nBy default `quick-format-unescaped` uses  `JSON.stringify` instead of `util.inspect`, this means functions *will not be serialized*.\n\n## Benchmarks\n\n### Node 8.11.2\n\n```\nutil*100000: 350.325ms\nquick*100000: 268.141ms\nutilWithTailObj*100000: 586.387ms\nquickWithTailObj*100000: 280.200ms\nutil*100000: 325.735ms\nquick*100000: 270.251ms\nutilWithTailObj*100000: 492.270ms\nquickWithTailObj*100000: 261.797ms\n```\n\n### Node 10.4.0\n\n```\nutil*100000: 301.035ms\nquick*100000: 217.005ms\nutilWithTailObj*100000: 404.778ms\nquickWithTailObj*100000: 236.176ms\nutil*100000: 286.349ms\nquick*100000: 214.646ms\nutilWithTailObj*100000: 388.574ms\nquickWithTailObj*100000: 226.036ms\n```\n\n## Acknowledgements\n\nSponsored by [nearForm](http://www.nearform.com)\n","publish_time":1549378815734,"_cnpm_publish_time":1549378815734,"dist-tags":{"latest":"4.0.4"}}