{"_id":"start-with","_rev":"448498","name":"start-with","description":"Determines whether a string begins with the characters of another string.","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"bubkoo","email":""}],"time":{"modified":"2021-08-05T06:53:46.000Z","created":"2016-04-11T16:14:19.633Z","1.0.2":"2016-04-15T05:33:56.522Z","1.0.1":"2016-04-12T13:25:26.913Z","1.0.0":"2016-04-11T17:33:48.886Z","0.0.0":"2016-04-11T16:14:19.633Z"},"users":{},"author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/gearcase/start-with.git"},"versions":{"1.0.2":{"name":"start-with","version":"1.0.2","description":"Determines whether a string begins with the characters of another string.","main":"index.js","scripts":{"lint":"jshint index.js","pretest":"npm run lint","test":"mocha -R spec","test:cov":"rm -rf ./test/coverage && istanbul cover _mocha --dir ./test/coverage -- -R spec","test:rpt":"npm run test:cov && coveralls < ./test/coverage/lcov.info","prepublish":"npm test"},"keywords":["string","str","starts","start","with","ends","end","search","prefix","postfix","check","first","begin","last","end","shim","polyfill","Ponyfill","util","utils","utility","tool"],"license":"MIT","author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/gearcase/start-with.git"},"bugs":{"url":"https://github.com/gearcase/start-with/issues"},"homepage":"https://github.com/gearcase/start-with#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.11.9","istanbul":"^0.4.2","jshint":"^2.9.1","mocha":"^2.4.5"},"gitHead":"40cd277041515a50d84fc5bda10ad6206757e546","_id":"start-with@1.0.2","_shasum":"a069a5f46a95fca7f0874f85a28f653d0095c267","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"a069a5f46a95fca7f0874f85a28f653d0095c267","size":2155,"noattachment":false,"key":"/start-with/-/start-with-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/start-with/download/start-with-1.0.2.tgz"},"maintainers":[{"name":"bubkoo","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/start-with-1.0.2.tgz_1460698432939_0.5788117800839245"},"directories":{},"publish_time":1460698436522,"_cnpm_publish_time":1460698436522,"_hasShrinkwrap":false},"1.0.1":{"name":"start-with","version":"1.0.1","description":"Determines whether a string begins with the characters of another string.","main":"index.js","scripts":{"lint":"jshint index.js","pretest":"npm run lint","test":"mocha -R spec","test:cov":"rm -rf ./test/coverage && istanbul cover _mocha --dir ./test/coverage -- -R spec","test:rpt":"npm run test:cov && coveralls < ./test/coverage/lcov.info","prepublish":"npm test"},"keywords":["string","str","starts","start","with","ends","end","search","prefix","postfix","check","first","begin","last","end","shim","polyfill","Ponyfill","util","utils","utility","tool"],"license":"MIT","author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/bubkoo/start-with.git"},"bugs":{"url":"https://github.com/bubkoo/start-with/issues"},"homepage":"https://github.com/bubkoo/start-with#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.11.9","istanbul":"^0.4.2","jshint":"^2.9.1","mocha":"^2.4.5"},"gitHead":"f5ade75774c569d28a19b9460b8385b505bf6d89","_id":"start-with@1.0.1","_shasum":"7c2b29f4a063a8d7ea37e25fe604c410da235efa","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"7c2b29f4a063a8d7ea37e25fe604c410da235efa","size":2164,"noattachment":false,"key":"/start-with/-/start-with-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/start-with/download/start-with-1.0.1.tgz"},"maintainers":[{"name":"bubkoo","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/start-with-1.0.1.tgz_1460467525404_0.33396904869005084"},"directories":{},"publish_time":1460467526913,"_cnpm_publish_time":1460467526913,"_hasShrinkwrap":false},"1.0.0":{"name":"start-with","version":"1.0.0","description":"Determines whether a string begins with the characters of another string.","main":"index.js","scripts":{"lint":"jshint index.js","pretest":"npm run lint","test":"mocha -R spec","test:cov":"rm -rf ./test/coverage && istanbul cover _mocha --dir ./test/coverage -- -R spec","test:rpt":"npm run test:cov && coveralls < ./test/coverage/lcov.info","prepublish":"npm test"},"keywords":["string","str","search","prefix","starts","start","with","ends","end","check","first","begin","last","end","util","utils","utility","tool"],"license":"MIT","author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/bubkoo/start-with.git"},"bugs":{"url":"https://github.com/bubkoo/start-with/issues"},"homepage":"https://github.com/bubkoo/start-with#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.11.9","istanbul":"^0.4.2","jshint":"^2.9.1","mocha":"^2.4.5"},"gitHead":"78391fb37053c13370835e1017837a687d682296","_id":"start-with@1.0.0","_shasum":"0a5cb9fc93c670545e6ff34d441e46c8f5b5fc0a","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"0a5cb9fc93c670545e6ff34d441e46c8f5b5fc0a","size":2004,"noattachment":false,"key":"/start-with/-/start-with-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/start-with/download/start-with-1.0.0.tgz"},"maintainers":[{"name":"bubkoo","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/start-with-1.0.0.tgz_1460396026232_0.777153235161677"},"directories":{},"publish_time":1460396028886,"_cnpm_publish_time":1460396028886,"_hasShrinkwrap":false},"0.0.0":{"name":"start-with","version":"0.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/bubkoo/start-with.git"},"author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com","url":"https://github.com/bubkoo"},"license":"MIT","bugs":{"url":"https://github.com/bubkoo/start-with/issues"},"homepage":"https://github.com/bubkoo/start-with#readme","gitHead":"be0eb663c5b0266c500252d734ac37c1878ba930","_id":"start-with@0.0.0","_shasum":"9e250416434b5c4f4791afbe4da6bc1af525cc76","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"9e250416434b5c4f4791afbe4da6bc1af525cc76","size":1064,"noattachment":false,"key":"/start-with/-/start-with-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/start-with/download/start-with-0.0.0.tgz"},"maintainers":[{"name":"bubkoo","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/start-with-0.0.0.tgz_1460391257235_0.006445788545534015"},"directories":{},"publish_time":1460391259633,"_cnpm_publish_time":1460391259633,"_hasShrinkwrap":false}},"readme":"# start-with <sup>[![Version Badge](http://versionbadg.es/gearcase/start-with.svg)](https://npmjs.org/package/start-with)</sup>\n\n\n> Determines whether a string begins with the characters of another string.\n\n> ES2015 [String#startsWith()](http://www.ecma-international.org/ecma-262/6.0/#sec-string.prototype.startswith) ponyfill.\n\n> Ponyfill: A polyfill that doesn't overwrite the native method.\n\n\n\n[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/gearcase/start-with/blob/master/LICENSE)\n\n[![build:?](https://img.shields.io/travis/gearcase/start-with/master.svg?style=flat-square)](https://travis-ci.org/gearcase/start-with)\n[![coverage:?](https://img.shields.io/coveralls/gearcase/start-with/master.svg?style=flat-square)](https://coveralls.io/github/gearcase/start-with)\n\n\n## Install\n\n```\n$ npm install --save start-with \n```\n\n## Usage\n\n> For more use-cases see the [tests](https://github.com/gearcase/start-with/blob/master/test/spec/index.js)\n\n```js\nvar startWith = require('start-with');\n\nstartWith('abcde', 'a');  // => true\nstartWith('abcde', 'ab'); // => true\nstartWith('abcde', 'bc'); // => false\nstartWith('abcde', '');   // => true\nstartWith('abcde');       // => false\nstartWith('abcde', null); // => false\n\n```\n\n## Related\n\n- [end-with](https://github.com/gearcase/end-with) - Determines whether a string ends with the characters of another string.\n- [pad-start](https://github.com/gearcase/pad-start) - ES spec-compliant String.prototype.padStart shim.\n- [pad-end](https://github.com/gearcase/pad-end) - ES spec-compliant String.prototype.padEnd shim.\n\n\n## Contributing\n \nPull requests and stars are highly welcome. \n\nFor bugs and feature requests, please [create an issue](https://github.com/gearcase/start-with/issues).\n","_attachments":{},"homepage":"https://github.com/gearcase/start-with#readme","bugs":{"url":"https://github.com/gearcase/start-with/issues"},"license":"MIT"}