UNPKG

replace-last

Version:

JavaScript replaceLast function - Replaces last match for pattern in string with replacement

55 lines (54 loc) 1.53 kB
{ "name": "replace-last", "version": "1.2.6", "description": "JavaScript replaceLast function - Replaces last match for pattern in string with replacement", "author": "danday74", "license": "ISC", "main": "index.js", "browser": "replaceLast.js", "scripts": { "test": "istanbul cover -x \"**/*.spec.js\" ./node_modules/mocha/bin/_mocha -- js", "enforcer": "istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100", "build": "npm test && npm run enforcer", "browserify": "webpack --mode production && (gcf || true)", "postcommit": "cross-env FORCE_COLOR=true npm run browserify", "prepush": "npm run build", "benchmarks": "node benchmarks" }, "dependencies": {}, "devDependencies": { "chai": "^4.1.2", "coveralls": "2.11.16", "cross-env": "^5.1.4", "eslint": "^4.19.1", "git-commit-file": "^1.3.1", "husky": "^0.14.3", "istanbul": "^0.4.5", "lodash": "^4.17.5", "mocha": "^5.0.5", "performance-now": "^2.1.0", "webpack": "^4.4.1", "webpack-cli": "^2.0.13" }, "keywords": [ "replace last", "replace", "last", "regex", "string", "lodash", "underscore" ], "repository": { "type": "git", "url": "git+https://github.com/danday74/replace-last.git" }, "bugs": { "url": "https://github.com/danday74/replace-last/issues" }, "homepage": "https://github.com/danday74/replace-last#readme", "comment": "coveralls@2.11.16", "engines": { "node": ">= 4.0.0" } }