UNPKG

object-set

Version:

Sets the value at path of object.

52 lines (51 loc) 1.19 kB
{ "name": "object-set", "version": "1.0.1", "description": "Sets the value at path of object.", "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": [ "remove", "delete", "unset", "set", "key", "value", "property", "path", "object" ], "author": { "name": "bubkoo", "email": "bubkoo.wy@gmail.com" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/gearcase/object-set.git" }, "bugs": { "url": "https://github.com/gearcase/object-set/issues" }, "homepage": "https://github.com/gearcase/object-set#readme", "devDependencies": { "jshint": "^2.9.1", "chai": "^3.5.0", "coveralls": "^2.11.9", "istanbul": "^0.4.2", "mocha": "^2.4.5" }, "dependencies": { "is-index": "^1.0.0", "is-nil": "^1.0.0", "is-object": "^1.0.1", "to-path": "^1.0.0" } }