{"_id":"extsprintf","_rev":"1364490","name":"extsprintf","description":"extended POSIX-style sprintf","dist-tags":{"latest":"1.4.1"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kellymclaughlin","email":"kelly.mclaughlin@joyent.com"},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"time":{"modified":"2021-11-02T21:51:03.000Z","created":"2012-04-18T01:14:26.459Z","1.4.1":"2021-11-02T21:47:58.004Z","1.4.0":"2017-11-30T21:26:44.392Z","1.3.0":"2015-03-07T00:13:00.888Z","1.2.1":"2014-11-21T00:31:52.236Z","1.2.0":"2014-06-16T21:20:26.849Z","1.1.1":"2014-06-13T16:30:25.968Z","1.1.0":"2014-06-06T21:00:44.164Z","1.0.3":"2014-01-15T00:31:32.926Z","1.0.2":"2013-02-06T18:25:43.668Z","1.0.1":"2012-06-14T00:13:58.871Z","1.0.0":"2012-04-18T01:14:26.459Z"},"users":{"mojaray2k":true,"andr":true},"repository":{"type":"git","url":"git+https://github.com/davepacheco/node-extsprintf.git"},"versions":{"1.4.1":{"name":"extsprintf","version":"1.4.1","description":"extended POSIX-style sprintf","main":"./lib/extsprintf.js","repository":{"type":"git","url":"git+https://github.com/davepacheco/node-extsprintf.git"},"engines":["node >=0.6.0"],"license":"MIT","gitHead":"0faac1e42c71249731f93f720d98c21e55591b4b","bugs":{"url":"https://github.com/davepacheco/node-extsprintf/issues"},"homepage":"https://github.com/davepacheco/node-extsprintf#readme","_id":"extsprintf@1.4.1","_nodeVersion":"12.22.7","_npmVersion":"6.14.13","dist":{"shasum":"8d172c064867f235c0c84a596806d279bf4bcc07","size":10978,"noattachment":false,"key":"/extsprintf/-/extsprintf-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/extsprintf/download/extsprintf-1.4.1.tgz"},"_npmUser":{"name":"bahamat","email":"bahamat@digitalelf.net"},"directories":{},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kellymclaughlin","email":"kelly.mclaughlin@joyent.com"},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/extsprintf_1.4.1_1635889677853_0.23533804056555296"},"_hasShrinkwrap":false,"publish_time":1635889678004,"_cnpm_publish_time":1635889678004},"1.4.0":{"name":"extsprintf","version":"1.4.0","description":"extended POSIX-style sprintf","main":"./lib/extsprintf.js","repository":{"type":"git","url":"git://github.com/davepacheco/node-extsprintf.git"},"engines":["node >=0.6.0"],"license":"MIT","gitHead":"26f360d1588a2d4106f3061bfd757f6ecdee37dc","bugs":{"url":"https://github.com/davepacheco/node-extsprintf/issues"},"homepage":"https://github.com/davepacheco/node-extsprintf#readme","_id":"extsprintf@1.4.0","scripts":{},"_shasum":"e2689f8f356fad62cca65a3a91c5df5f9551692f","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.10.45","_npmUser":{"name":"dap","email":"dap@cs.brown.edu"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kellymclaughlin","email":"kelly.mclaughlin@joyent.com"},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"dist":{"shasum":"e2689f8f356fad62cca65a3a91c5df5f9551692f","size":11121,"noattachment":false,"key":"/extsprintf/-/extsprintf-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extsprintf/download/extsprintf-1.4.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/extsprintf-1.4.0.tgz_1512077204279_0.1054401712026447"},"directories":{},"publish_time":1512077204392,"_hasShrinkwrap":false,"_cnpm_publish_time":1512077204392},"1.3.0":{"name":"extsprintf","version":"1.3.0","description":"extended POSIX-style sprintf","main":"./lib/extsprintf.js","repository":{"type":"git","url":"git://github.com/davepacheco/node-extsprintf.git"},"engines":["node >=0.6.0"],"license":"MIT","gitHead":"accc9f2774189a416f294546ed03b626eec3f80c","bugs":{"url":"https://github.com/davepacheco/node-extsprintf/issues"},"homepage":"https://github.com/davepacheco/node-extsprintf","_id":"extsprintf@1.3.0","scripts":{},"_shasum":"96918440e3041a7a414f8c52e3c574eb3c3e1e05","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dap","email":"dap@cs.brown.edu"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kellymclaughlin","email":"kelly.mclaughlin@joyent.com"},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"dist":{"shasum":"96918440e3041a7a414f8c52e3c574eb3c3e1e05","size":9009,"noattachment":false,"key":"/extsprintf/-/extsprintf-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extsprintf/download/extsprintf-1.3.0.tgz"},"directories":{},"publish_time":1425687180888,"_cnpm_publish_time":1425687180888,"_hasShrinkwrap":false},"1.2.1":{"name":"extsprintf","version":"1.2.1","description":"extended POSIX-style sprintf","main":"./lib/extsprintf.js","repository":{"type":"git","url":"git://github.com/davepacheco/node-extsprintf.git"},"engines":["node >=0.6.0"],"license":"MIT","bugs":{"url":"https://github.com/davepacheco/node-extsprintf/issues"},"homepage":"https://github.com/davepacheco/node-extsprintf","_id":"extsprintf@1.2.1","_shasum":"1e42560fc26783d14ab640dcf22cc73789b3844e","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"dap","email":"dap@cs.brown.edu"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kellymclaughlin","email":"kelly.mclaughlin@joyent.com"},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"dist":{"shasum":"1e42560fc26783d14ab640dcf22cc73789b3844e","size":8887,"noattachment":false,"key":"/extsprintf/-/extsprintf-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/extsprintf/download/extsprintf-1.2.1.tgz"},"directories":{},"publish_time":1416529912236,"_cnpm_publish_time":1416529912236,"_hasShrinkwrap":false},"1.2.0":{"name":"extsprintf","version":"1.2.0","description":"extended POSIX-style sprintf","main":"./lib/extsprintf.js","repository":{"type":"git","url":"git://github.com/davepacheco/node-extsprintf.git"},"engines":["node >=0.6.0"],"license":"MIT","bugs":{"url":"https://github.com/davepacheco/node-extsprintf/issues"},"homepage":"https://github.com/davepacheco/node-extsprintf","_id":"extsprintf@1.2.0","_shasum":"5ad946c22f5b32ba7f8cd7426711c6e8a3fc2529","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"dap","email":"dap@cs.brown.edu"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kellymclaughlin","email":"kelly.mclaughlin@joyent.com"},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"dist":{"shasum":"5ad946c22f5b32ba7f8cd7426711c6e8a3fc2529","size":9177,"noattachment":false,"key":"/extsprintf/-/extsprintf-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extsprintf/download/extsprintf-1.2.0.tgz"},"directories":{},"publish_time":1402953626849,"_cnpm_publish_time":1402953626849,"_hasShrinkwrap":false},"1.1.1":{"name":"extsprintf","version":"1.1.1","description":"extended POSIX-style sprintf","main":"./lib/extsprintf.js","repository":{"type":"git","url":"git://github.com/davepacheco/node-extsprintf.git"},"engines":["node >=0.6.0"],"license":"MIT","bugs":{"url":"https://github.com/davepacheco/node-extsprintf/issues"},"homepage":"https://github.com/davepacheco/node-extsprintf","_id":"extsprintf@1.1.1","_shasum":"3e8b91a53ca4b1764e77435f7d9faccb8a0a3550","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"dap","email":"dap@cs.brown.edu"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kellymclaughlin","email":"kelly.mclaughlin@joyent.com"},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"dist":{"shasum":"3e8b91a53ca4b1764e77435f7d9faccb8a0a3550","size":9133,"noattachment":false,"key":"/extsprintf/-/extsprintf-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/extsprintf/download/extsprintf-1.1.1.tgz"},"directories":{},"publish_time":1402677025968,"_cnpm_publish_time":1402677025968,"_hasShrinkwrap":false},"1.1.0":{"name":"extsprintf","version":"1.1.0","description":"extended POSIX-style sprintf","main":"./lib/extsprintf.js","repository":{"type":"git","url":"git://github.com/davepacheco/node-extsprintf.git"},"engines":["node >=0.6.0"],"license":"MIT","bugs":{"url":"https://github.com/davepacheco/node-extsprintf/issues"},"homepage":"https://github.com/davepacheco/node-extsprintf","_id":"extsprintf@1.1.0","_shasum":"f9b87b9970f66788aef90d398a77590987b22472","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"dap","email":"dap@cs.brown.edu"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kellymclaughlin","email":"kelly.mclaughlin@joyent.com"},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"dist":{"shasum":"f9b87b9970f66788aef90d398a77590987b22472","size":871757,"noattachment":false,"key":"/extsprintf/-/extsprintf-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extsprintf/download/extsprintf-1.1.0.tgz"},"directories":{},"publish_time":1402088444164,"_cnpm_publish_time":1402088444164,"_hasShrinkwrap":false},"1.0.3":{"name":"extsprintf","version":"1.0.3","description":"extended POSIX-style sprintf","main":"./lib/extsprintf.js","repository":{"type":"git","url":"git://github.com/davepacheco/node-extsprintf.git"},"engines":["node >=0.6.0"],"license":"MIT","readmeFilename":"README.md","bugs":{"url":"https://github.com/davepacheco/node-extsprintf/issues"},"_id":"extsprintf@1.0.3","dist":{"shasum":"3310ca8ced5205e5234766b0b2744ea5b2788d67","size":871733,"noattachment":false,"key":"/extsprintf/-/extsprintf-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/extsprintf/download/extsprintf-1.0.3.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dap","email":"dap@cs.brown.edu"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kellymclaughlin","email":"kelly.mclaughlin@joyent.com"},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"directories":{},"publish_time":1389745892926,"_cnpm_publish_time":1389745892926,"_hasShrinkwrap":false},"1.0.2":{"name":"extsprintf","version":"1.0.2","description":"extended POSIX-style sprintf","main":"./lib/extsprintf.js","repository":{"type":"git","url":"git://github.com/davepacheco/node-extsprintf.git"},"engines":["node >=0.6.0"],"readmeFilename":"README.md","_id":"extsprintf@1.0.2","dist":{"shasum":"e1080e0658e300b06294990cc70e1502235fd550","size":9089,"noattachment":false,"key":"/extsprintf/-/extsprintf-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/extsprintf/download/extsprintf-1.0.2.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"dap","email":"dap@cs.brown.edu"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kellymclaughlin","email":"kelly.mclaughlin@joyent.com"},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"directories":{},"publish_time":1360175143668,"_cnpm_publish_time":1360175143668,"_hasShrinkwrap":false},"1.0.1":{"name":"extsprintf","version":"1.0.1","description":"extended POSIX-style sprintf","main":"./lib/extsprintf.js","repository":{"type":"git","url":"git://github.com/davepacheco/node-extsprintf.git"},"engines":["node >=0.6.0"],"_npmUser":{"name":"dap","email":"dap@cs.brown.edu"},"_id":"extsprintf@1.0.1","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"590e147d5c59e2180b3366f7bc21acabaf69a185","size":9093,"noattachment":false,"key":"/extsprintf/-/extsprintf-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/extsprintf/download/extsprintf-1.0.1.tgz"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kellymclaughlin","email":"kelly.mclaughlin@joyent.com"},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"directories":{},"publish_time":1339632838871,"_cnpm_publish_time":1339632838871,"_hasShrinkwrap":false},"1.0.0":{"name":"extsprintf","version":"1.0.0","description":"extended POSIX-style sprintf","main":"./lib/extsprintf.js","repository":{"type":"git","url":"git://github.com/davepacheco/node-extsprintf.git"},"engines":["node >=0.6.0"],"_npmUser":{"name":"dap","email":"dap@cs.brown.edu"},"_id":"extsprintf@1.0.0","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.4","_nodeVersion":"v0.6.12","_defaultsLoaded":true,"dist":{"shasum":"4d58b815ace5bebfc4ebf03cf98b0a7604a99b86","size":9150,"noattachment":false,"key":"/extsprintf/-/extsprintf-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extsprintf/download/extsprintf-1.0.0.tgz"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kellymclaughlin","email":"kelly.mclaughlin@joyent.com"},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"directories":{},"publish_time":1334711666459,"_cnpm_publish_time":1334711666459,"_hasShrinkwrap":false}},"readme":"# extsprintf: extended POSIX-style sprintf\n\nStripped down version of s[n]printf(3c).  We make a best effort to throw an\nexception when given a format string we don't understand, rather than ignoring\nit, so that we won't break existing programs if/when we go implement the rest\nof this.\n\nThis implementation currently supports specifying\n\n* field alignment ('-' flag),\n* zero-pad ('0' flag)\n* always show numeric sign ('+' flag),\n* field width\n* conversions for strings, decimal integers, and floats (numbers).\n* argument size specifiers.  These are all accepted but ignored, since\n  Javascript has no notion of the physical size of an argument.\n\nEverything else is currently unsupported, most notably: precision, unsigned\nnumbers, non-decimal numbers, and characters.\n\nBesides the usual POSIX conversions, this implementation supports:\n\n* `%j`: pretty-print a JSON object (using node's \"inspect\")\n* `%r`: pretty-print an Error object\n\n# Example\n\nFirst, install it:\n\n    # npm install extsprintf\n\nNow, use it:\n\n    var mod_extsprintf = require('extsprintf');\n    console.log(mod_extsprintf.sprintf('hello %25s', 'world'));\n\noutputs:\n\n    hello                     world\n\n# Also supported\n\n**printf**: same args as sprintf, but prints the result to stdout\n\n**fprintf**: same args as sprintf, preceded by a Node stream.  Prints the result\nto the given stream.\n","_attachments":{},"homepage":"https://github.com/davepacheco/node-extsprintf#readme","bugs":{"url":"https://github.com/davepacheco/node-extsprintf/issues"},"license":"MIT"}