{ "_args": [ [ { "raw": "left-pad@^1.1.3", "scope": null, "escapedName": "left-pad", "name": "left-pad", "rawSpec": "^1.1.3", "spec": ">=1.1.3 <2.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/metro" ] ], "_from": "left-pad@>=1.1.3 <2.0.0", "_id": "left-pad@1.2.0", "_inCache": true, "_location": "/left-pad", "_nodeVersion": "6.10.3", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/left-pad-1.2.0.tgz_1510897718867_0.7524343002587557" }, "_npmUser": { "name": "stevemao", "email": "maochenyan@gmail.com" }, "_npmVersion": "3.10.10", "_phantomChildren": {}, "_requested": { "raw": "left-pad@^1.1.3", "scope": null, "escapedName": "left-pad", "name": "left-pad", "rawSpec": "^1.1.3", "spec": ">=1.1.3 <2.0.0", "type": "range" }, "_requiredBy": [ "/jsdom", "/metro" ], "_resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.2.0.tgz", "_shasum": "d30a73c6b8201d8f7d8e7956ba9616087a68e0ee", "_shrinkwrap": null, "_spec": "left-pad@^1.1.3", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/metro", "author": { "name": "azer" }, "bugs": { "url": "https://github.com/stevemao/left-pad/issues" }, "dependencies": {}, "description": "String left pad", "devDependencies": { "benchmark": "^2.1.0", "tape": "*" }, "directories": {}, "dist": { "shasum": "d30a73c6b8201d8f7d8e7956ba9616087a68e0ee", "tarball": "https://registry.npmjs.org/left-pad/-/left-pad-1.2.0.tgz" }, "gitHead": "1f8f21b762a7426a7c73286d854c07d9f9e78486", "homepage": "https://github.com/stevemao/left-pad#readme", "keywords": [ "leftpad", "left", "pad", "padding", "string", "repeat" ], "license": "WTFPL", "main": "index.js", "maintainers": [ { "name": "Cameron Westland", "email": "camwest@gmail.com" } ], "name": "left-pad", "optionalDependencies": {}, "readme": "## left-pad\n\nString left pad\n\n[![Build Status][travis-image]][travis-url]\n\n## Install\n\n```bash\n$ npm install left-pad\n```\n\n## Usage\n\n```js\nconst leftPad = require('left-pad')\n\nleftPad('foo', 5)\n// => \" foo\"\n\nleftPad('foobar', 6)\n// => \"foobar\"\n\nleftPad(1, 2, '0')\n// => \"01\"\n\nleftPad(17, 5, 0)\n// => \"00017\"\n```\n\n**NOTE:** The third argument should be a single `char`. However the module doesn't throw an error if you supply more than one `char`s. See [#28](https://github.com/stevemao/left-pad/pull/28).\n\n[travis-image]: https://travis-ci.org/stevemao/left-pad.svg?branch=master\n[travis-url]: https://travis-ci.org/stevemao/left-pad\n\n## Typings\n\nTypings copied from [@types/left-pad](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/left-pad) for convenience.\n", "readmeFilename": "README.md", "repository": { "url": "git+ssh://git@github.com/stevemao/left-pad.git", "type": "git" }, "scripts": { "bench": "node perf/perf.js", "test": "node test" }, "types": "index.d.ts", "version": "1.2.0" }