@eivifj/dot
Advanced tools
Comparing version 0.2.0 to 1.0.0
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "0.2.0", | ||
"version": "1.0.0", | ||
"description": "Get and set object properties with dot notation", | ||
@@ -9,0 +9,0 @@ "main": "index.js", |
@@ -8,3 +8,3 @@ | ||
$ component install eivindfjeldstad/dot | ||
$ npm install @eivifj/dot | ||
@@ -25,4 +25,9 @@ ## API | ||
### dot.delete(object, path) | ||
```js | ||
var value = dot.delete(obj, 'cool.aid'); | ||
assert(!obj.cool.hasOwnProperty('aid')); | ||
## License | ||
MIT |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2637
1
32