UNPKG

yunlongzha_try_nodejs

Version:

try it

1 lines 8.77 kB
{"_id":"extsprintf","_rev":"24-3ad1740ece53b218bdbd27e2f810e52d","name":"extsprintf","description":"extended POSIX-style sprintf","dist-tags":{"latest":"1.3.0"},"versions":{"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","tarball":"http://registry.npmjs.org/extsprintf/-/extsprintf-1.0.0.tgz"},"maintainers":[{"name":"dap","email":"dap@cs.brown.edu"}],"directories":{}},"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","tarball":"http://registry.npmjs.org/extsprintf/-/extsprintf-1.0.1.tgz"},"maintainers":[{"name":"dap","email":"dap@cs.brown.edu"}],"directories":{}},"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"],"_id":"extsprintf@1.0.2","dist":{"shasum":"e1080e0658e300b06294990cc70e1502235fd550","tarball":"http://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"dap","email":"dap@cs.brown.edu"},"maintainers":[{"name":"dap","email":"dap@cs.brown.edu"}],"directories":{}},"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","bugs":{"url":"https://github.com/davepacheco/node-extsprintf/issues"},"_id":"extsprintf@1.0.3","dist":{"shasum":"3310ca8ced5205e5234766b0b2744ea5b2788d67","tarball":"http://registry.npmjs.org/extsprintf/-/extsprintf-1.0.3.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dap","email":"dap@cs.brown.edu"},"maintainers":[{"name":"dap","email":"dap@cs.brown.edu"}],"directories":{}},"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":"dap","email":"dap@cs.brown.edu"}],"dist":{"shasum":"f9b87b9970f66788aef90d398a77590987b22472","tarball":"http://registry.npmjs.org/extsprintf/-/extsprintf-1.1.0.tgz"},"directories":{}},"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":"dap","email":"dap@cs.brown.edu"}],"dist":{"shasum":"3e8b91a53ca4b1764e77435f7d9faccb8a0a3550","tarball":"http://registry.npmjs.org/extsprintf/-/extsprintf-1.1.1.tgz"},"directories":{}},"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":"dap","email":"dap@cs.brown.edu"}],"dist":{"shasum":"5ad946c22f5b32ba7f8cd7426711c6e8a3fc2529","tarball":"http://registry.npmjs.org/extsprintf/-/extsprintf-1.2.0.tgz"},"directories":{}},"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":"dap","email":"dap@cs.brown.edu"}],"dist":{"shasum":"1e42560fc26783d14ab640dcf22cc73789b3844e","tarball":"http://registry.npmjs.org/extsprintf/-/extsprintf-1.2.1.tgz"},"directories":{}},"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":"dap","email":"dap@cs.brown.edu"}],"dist":{"shasum":"96918440e3041a7a414f8c52e3c574eb3c3e1e05","tarball":"http://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz"},"directories":{}}},"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","maintainers":[{"name":"dap","email":"dap@cs.brown.edu"}],"time":{"modified":"2015-03-07T00:13:00.888Z","created":"2012-04-18T01:14:25.292Z","1.0.0":"2012-04-18T01:14:26.459Z","1.0.1":"2012-06-14T00:13:58.871Z","1.0.2":"2013-02-06T18:25:43.668Z","1.0.3":"2014-01-15T00:31:32.926Z","1.1.0":"2014-06-06T21:00:44.164Z","1.1.1":"2014-06-13T16:30:25.968Z","1.2.0":"2014-06-16T21:20:26.849Z","1.2.1":"2014-11-21T00:31:52.236Z","1.3.0":"2015-03-07T00:13:00.888Z"},"repository":{"type":"git","url":"git://github.com/davepacheco/node-extsprintf.git"},"readmeFilename":"README.md","homepage":"https://github.com/davepacheco/node-extsprintf","bugs":{"url":"https://github.com/davepacheco/node-extsprintf/issues"},"license":"MIT","_attachments":{},"_etag":"\"8SZHSWXY2AGI2KX70GQFVOSWW\""}