Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "get-value", | ||
"description": "Use property paths (`a.b.c`) get a nested value from an object.", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"homepage": "https://github.com/jonschlinkert/get-value", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -42,11 +42,4 @@ # get-value [![NPM version](https://badge.fury.io/js/get-value.svg)](http://badge.fury.io/js/get-value) [![Build Status](https://travis-ci.org/jonschlinkert/get-value.svg)](https://travis-ci.org/jonschlinkert/get-value) | ||
var get = require('get-value'); | ||
``` | ||
## Examples | ||
```js | ||
var obj = { | ||
a: {b : {c: {d: 'foo'}}}, | ||
}; | ||
var obj = {a: {b : {c: {d: 'foo'}}}}; | ||
get(obj, 'a.b.c'); | ||
@@ -58,9 +51,8 @@ //=> {d: 'foo'} | ||
``` | ||
## Related projects | ||
* [has-value](https://github.com/jonschlinkert/has-value): Returns true if a value exists, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays. Other libs do this, but I needed one that would optionally _not_ treat zero as empty. Also, this works with booleans and other valu | ||
* [set-value](https://github.com/jonschlinkert/set-value): Create nested values and any intermediaries dot notation (`'a.b.c'`) paths. | ||
* [get-property](https://github.com/jonschlinkert/get-property): Get a nested property or its value from an object using simple `a.b.c` paths. | ||
* [get-object](https://github.com/jonschlinkert/get-object): Get a object from a property on a nested object. | ||
- [get-property](https://github.com/jonschlinkert/get-property) | ||
- [get-object](https://github.com/jonschlinkert/get-object) | ||
## Contributing | ||
@@ -89,2 +81,2 @@ Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/get-value/issues) | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 11, 2015._ | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 25, 2015._ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6031
79