{"name":"quick-format-unescaped","version":"4.0.1","description":"Solves a problem with util.format","main":"index.js","directories":{"test":"test"},"scripts":{"test":"nyc -- node test","test:html":"nyc --reporter=html -- node test"},"author":{"name":"David Mark Clements"},"devDependencies":{"fastbench":"^1.0.1","nyc":"^15.0.0"},"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":"64ca754bb67c514da9bccd3a59e2b4e344ddda1a","_id":"quick-format-unescaped@4.0.1","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-RyYpQ6Q5/drsJyOhrWHYMWTedvjTIat+FTwv0K4yoUxzvekw2aRHMQJLlnvt8UantkZg2++bEzD9EdxXqkWf4A==","shasum":"437a5ea1a0b61deb7605f8ab6a8fd3858dbeb701","tarball":"http://registry-npm.ywwl.com/quick-format-unescaped/download/quick-format-unescaped-4.0.1.tgz","fileCount":7,"unpackedSize":10356,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeSzICRA9TVsSAnZWagAAfGoP/2TzA7RiOO/Sl6u7afMO\nv9DsLPZ/v6DTj7zs1Wb2D/Ebcl5inZwRU0MkpKjzGJJyc2QPOcQzBlJVW96k\nQeTr0C5gL4Q42RGYN4/TTXLJiI0i2Ba4QtIkOjQh9l1Gisl23v493tUNuLeD\ng/5IPWy/PaSi0wI6iyLdiyBr2FqVFQy0Oi0WfWPeUmQebBosK36vZdBoFtyT\nXDDsIfzKHzbz5yXL3n4nfdKKZqQxytslCwkFezBlrUY9NO5pIPpdhHNywKKp\nf+Wh+mRj3F7AWlgBVN73LwjsS0VUKQXN72o0uBnNNqvLmTxXPDCf/K0ROGW/\nuN0wlHoIevllDdJoMeFfxTa0IMZJs1DvoF977/zHVAruIfIBGZLMPK4fE1Nx\nsJArdJC3sCuJyqmUowrDfy5pMs+hTH96V98dqCybAplTqO0n59FlIBj+Jsdq\n7avf9Q6Nejn84qw6rIZjj+8K7S7u4w7uVYraBNye4IvSrImeoMQhO5meVo78\nWR8TPG81T0oy8iEMP2xCdWOJFea6cj9Chkuq+sVPJS0cuo2zqx4elup+V5Qx\nOwARWVHmKCb96XgbY+nUbpWlzHVbSU/WucHzGWYQDb8ZXDClzeHvIwT53FTi\nBFhyPfqJKD1lIGrf+blp3ZHN84hS1kC5bhA1qUlVXrgyP3ulvcW9KnPgpE2u\nDZS/\r\n=Bw0B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh/PPhoSYcZ2xGCyKHpxGXg6Y5IVV+U4bD8Rjmkle+YgIhAJnjmMjA2NT1zr1o7E4CmL+8U85QJKGQatO/c4mNiYF8"}],"size":3629,"noattachment":false,"key":"/quick-format-unescaped/-/quick-format-unescaped-4.0.1.tgz"},"maintainers":[{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"}],"_npmUser":{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quick-format-unescaped_4.0.1_1584999623686_0.1809516973737868"},"_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":1584999623867,"_cnpm_publish_time":1584999623867,"dist-tags":{"latest":"4.0.4"}}