UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

137 lines (136 loc) 5.97 kB
{ "_args": [ [ { "raw": "string.prototype.padstart@3.0.0", "scope": null, "escapedName": "string.prototype.padstart", "name": "string.prototype.padstart", "rawSpec": "3.0.0", "spec": "3.0.0", "type": "version" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/pnpm-default-reporter" ] ], "_from": "string.prototype.padstart@3.0.0", "_id": "string.prototype.padstart@3.0.0", "_inCache": true, "_location": "/string.prototype.padstart", "_nodeVersion": "5.0.0", "_npmUser": { "name": "ljharb", "email": "ljharb@gmail.com" }, "_npmVersion": "3.3.10", "_phantomChildren": {}, "_requested": { "raw": "string.prototype.padstart@3.0.0", "scope": null, "escapedName": "string.prototype.padstart", "name": "string.prototype.padstart", "rawSpec": "3.0.0", "spec": "3.0.0", "type": "version" }, "_requiredBy": [ "/pnpm-default-reporter" ], "_resolved": "https://registry.npmjs.org/string.prototype.padstart/-/string.prototype.padstart-3.0.0.tgz", "_shasum": "5bcfad39f4649bb2d031292e19bcf0b510d4b242", "_shrinkwrap": null, "_spec": "string.prototype.padstart@3.0.0", "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/pnpm-default-reporter", "author": { "name": "Jordan Harband" }, "bugs": { "url": "https://github.com/es-shims/String.prototype.padStart/issues" }, "dependencies": { "define-properties": "^1.1.2", "es-abstract": "^1.4.3", "function-bind": "^1.0.2" }, "description": "ES7 spec-compliant String.prototype.padStart shim.", "devDependencies": { "@es-shims/api": "^1.0.0", "@ljharb/eslint-config": "^1.6.0", "covert": "^1.1.0", "eslint": "^1.9.0", "jscs": "^2.5.1", "nsp": "^2.0.2", "tape": "^4.2.2" }, "directories": {}, "dist": { "shasum": "5bcfad39f4649bb2d031292e19bcf0b510d4b242", "tarball": "https://registry.npmjs.org/string.prototype.padstart/-/string.prototype.padstart-3.0.0.tgz" }, "engines": { "node": ">= 0.4" }, "gitHead": "b8c3dcb135351d6fe322082d8be98f8f3cc8ff62", "homepage": "https://github.com/es-shims/String.prototype.padStart#readme", "keywords": [ "String.prototype.padLeft", "String.prototype.padStart", "string", "ES7", "shim", "trim", "padLeft", "padRight", "padStart", "padEnd", "polyfill", "es-shim API" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "ljharb", "email": "ljharb@gmail.com" } ], "name": "string.prototype.padstart", "optionalDependencies": {}, "readme": "# String.prototype.padStart <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![Build Status][travis-svg]][travis-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\n[![browser support][testling-svg]][testling-url]\n\nAn ES7 spec-compliant `String.prototype.padStart` shim. Invoke its \"shim\" method to shim `String.prototype.padStart` if it is unavailable.\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec proposal](https://github.com/tc39/proposal-string-pad-start-end).\n\nMost common usage:\n```js\nvar padStart = require('string.prototype.padstart');\n\nassert(padStart('foo', 5, 'bar') === 'bafoo');\n\npadStart.shim();\n\nassert(padStart('foo', 2)) === 'foo'.padStart(2));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.com/package/string.prototype.padstart\n[npm-version-svg]: http://versionbadg.es/es-shims/String.prototype.padStart.svg\n[travis-svg]: https://travis-ci.org/es-shims/String.prototype.padStart.svg\n[travis-url]: https://travis-ci.org/es-shims/String.prototype.padStart\n[deps-svg]: https://david-dm.org/es-shims/String.prototype.padStart.svg\n[deps-url]: https://david-dm.org/es-shims/String.prototype.padStart\n[dev-deps-svg]: https://david-dm.org/es-shims/String.prototype.padStart/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/String.prototype.padStart#info=devDependencies\n[testling-svg]: https://ci.testling.com/es-shims/String.prototype.padStart.png\n[testling-url]: https://ci.testling.com/es-shims/String.prototype.padStart\n[npm-badge-png]: https://nodei.co/npm/string.prototype.padstart.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/string.prototype.padstart.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/string.prototype.padstart.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=string.prototype.padstart\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/es-shims/String.prototype.padStart.git" }, "scripts": { "coverage": "covert test/*.js", "coverage-quiet": "covert test/*.js --quiet", "eslint": "eslint test/*.js *.js", "jscs": "jscs test/*.js *.js", "lint": "npm run jscs && npm run eslint", "security": "nsp check", "test": "npm run lint && npm run tests-only && npm run security", "test:module": "node test/index.js", "test:shimmed": "node test/shimmed.js", "tests-only": "es-shim-api --bound && npm run test:shimmed && npm run test:module" }, "testling": { "files": "test/index.js", "browsers": [ "iexplore/9.0..latest", "firefox/4.0..6.0", "firefox/15.0..latest", "firefox/nightly", "chrome/4.0..10.0", "chrome/20.0..latest", "chrome/canary", "opera/11.6..latest", "opera/next", "safari/5.0..latest", "ipad/6.0..latest", "iphone/6.0..latest", "android-browser/4.2" ] }, "version": "3.0.0" }