Repository URL to install this package:
|
Version:
1.14.0-17740 ▾
|
{
"_args": [
[
{
"raw": "extsprintf@https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz",
"scope": null,
"escapedName": "extsprintf",
"name": "extsprintf",
"rawSpec": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz",
"spec": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz",
"type": "remote"
},
"/home/brktbldr/jenkins/nb/label/linux64/brackets/dist"
]
],
"_from": "extsprintf@1.0.2",
"_id": "extsprintf@1.0.2",
"_inCache": true,
"_location": "/extsprintf",
"_phantomChildren": {},
"_requested": {
"raw": "extsprintf@https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz",
"scope": null,
"escapedName": "extsprintf",
"name": "extsprintf",
"rawSpec": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz",
"spec": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz",
"type": "remote"
},
"_requiredBy": [
"/",
"/jsprim",
"/verror"
],
"_resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz",
"_shasum": "e1080e0658e300b06294990cc70e1502235fd550",
"_shrinkwrap": null,
"_spec": "extsprintf@https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz",
"_where": "/home/brktbldr/jenkins/nb/label/linux64/brackets/dist",
"bugs": {
"url": "https://github.com/davepacheco/node-extsprintf/issues"
},
"dependencies": {},
"description": "extended POSIX-style sprintf",
"devDependencies": {},
"engines": [
"node >=0.6.0"
],
"homepage": "https://github.com/davepacheco/node-extsprintf#readme",
"main": "./lib/extsprintf.js",
"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"
}