{ "_args": [ [ { "raw": "extsprintf@1.0.2", "scope": null, "escapedName": "extsprintf", "name": "extsprintf", "rawSpec": "1.0.2", "spec": "1.0.2", "type": "version" }, "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/jsprim" ] ], "_from": "extsprintf@1.0.2", "_id": "extsprintf@1.0.2", "_inCache": true, "_location": "/extsprintf", "_npmUser": { "name": "dap", "email": "dap@cs.brown.edu" }, "_npmVersion": "1.1.65", "_phantomChildren": {}, "_requested": { "raw": "extsprintf@1.0.2", "scope": null, "escapedName": "extsprintf", "name": "extsprintf", "rawSpec": "1.0.2", "spec": "1.0.2", "type": "version" }, "_requiredBy": [ "/jsprim", "/verror" ], "_resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz", "_shasum": "e1080e0658e300b06294990cc70e1502235fd550", "_shrinkwrap": null, "_spec": "extsprintf@1.0.2", "_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/jsprim", "bugs": { "url": "https://github.com/davepacheco/node-extsprintf/issues" }, "dependencies": {}, "description": "extended POSIX-style sprintf", "devDependencies": {}, "directories": {}, "dist": { "shasum": "e1080e0658e300b06294990cc70e1502235fd550", "tarball": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz" }, "engines": [ "node >=0.6.0" ], "homepage": "https://github.com/davepacheco/node-extsprintf#readme", "main": "./lib/extsprintf.js", "maintainers": [ { "name": "dap", "email": "dap@cs.brown.edu" } ], "name": "extsprintf", "optionalDependencies": {}, "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", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/davepacheco/node-extsprintf.git" }, "version": "1.0.2" }