UNPKG

end-with

Version:

Determines whether a string ends with the characters of another string.

59 lines (58 loc) 1.27 kB
{ "name": "end-with", "version": "1.0.2", "description": "Determines whether a string ends 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/end-with.git" }, "bugs": { "url": "https://github.com/gearcase/end-with/issues" }, "homepage": "https://github.com/gearcase/end-with#readme", "devDependencies": { "jshint": "^2.9.1", "chai": "^3.5.0", "coveralls": "^2.11.9", "istanbul": "^0.4.2", "mocha": "^2.4.5" } }