prepend-slash

v1.0.1
Sets a leading slash as the first character of a given string.
prepend leading slash

test

npm run lint && mocha

lint

eslint .

cover

istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && rm -rf ./coverage

coveralls

istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
npm i prepend-slash

Metadata

  • MIT
  • Whatever
  • ruffle1986
  • released 8/31/2015

Downloads

Maintainers