string.prototype.startswith

v1.0.1
A robust & optimized `String.prototype.startsWith` polyfill, based on the ECMAScript 6 specification.
string startswith es6 ecmascript polyfill

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'
npm i string.prototype.startswith

Metadata

  • MIT
  • Whatever
  • Mathias Bynens
  • released 9/27/2024

Downloads