UNPKG

string.prototype.startswith

Version:

A robust & optimized `String.prototype.startsWith` polyfill, based on the ECMAScript 6 specification.

53 lines (52 loc) 1.32 kB
{ "name": "string.prototype.startswith", "version": "1.0.1", "description": "A robust & optimized `String.prototype.startsWith` polyfill, based on the ECMAScript 6 specification.", "homepage": "https://mths.be/startswith", "main": "index.js", "exports": { ".": "./index.js", "./auto": "./auto.js", "./polyfill": "./polyfill.js", "./implementation": "./implementation.js", "./shim": "./shim.js", "./package.json": "./package.json" }, "keywords": [ "string", "startswith", "es6", "ecmascript", "polyfill" ], "license": "MIT", "author": { "name": "Mathias Bynens", "url": "https://mathiasbynens.be/" }, "repository": { "type": "git", "url": "https://github.com/mathiasbynens/String.prototype.startsWith.git" }, "directories": { "test": "./tests" }, "bugs": "https://github.com/mathiasbynens/String.prototype.startsWith/issues", "scripts": { "pretest": "es-shim-api --bound", "test": "npm run tests-only", "tests-only": "tape 'tests/*.js'", "cover": "istanbul cover --report html --verbose --dir coverage tape 'tests/*.js'" }, "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", "es-abstract": "^1.23.3" }, "devDependencies": { "@es-shims/api": "^2.5.1", "functions-have-names": "^1.2.3", "istanbul": "^0.4.5", "tape": "^5.9.0" } }