You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# union-value [](https://www.npmjs.com/package/union-value)[](https://npmjs.org/package/union-value)[](https://npmjs.org/package/union-value)[](https://travis-ci.org/jonschlinkert/union-value)
2
2
3
3
> Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
4
4
5
5
## Install
6
+
6
7
Install with [npm](https://www.npmjs.com/):
7
8
8
9
```sh
9
-
$ npm i union-value --save
10
+
$ npm install --save union-value
10
11
```
11
12
12
13
## Usage
@@ -23,33 +24,50 @@ console.log(obj);
23
24
//=> {a: {b: {c: [ 'one', 'two', 'three' ] }}}
24
25
```
25
26
26
-
## Similar projects
27
-
*[assign-value](https://www.npmjs.com/package/assign-value): Assign a value or extend a deeply nested property of an object using object path… [more](https://www.npmjs.com/package/assign-value) | [homepage](https://github.com/jonschlinkert/assign-value)
28
-
*[get-value](https://www.npmjs.com/package/get-value): Use property paths (`a.b.c`) to get a nested value from an object. | [homepage](https://github.com/jonschlinkert/get-value)
29
-
*[has-value](https://www.npmjs.com/package/has-value): Returns true if a value exists, false if empty. Works with deeply nested values using… [more](https://www.npmjs.com/package/has-value) | [homepage](https://github.com/jonschlinkert/has-value)
30
-
*[set-value](https://www.npmjs.com/package/set-value): Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths. | [homepage](https://github.com/jonschlinkert/set-value)
31
-
*[unset-value](https://www.npmjs.com/package/unset-value): Delete nested properties from an object using dot notation. | [homepage](https://github.com/jonschlinkert/unset-value)
27
+
## About
28
+
29
+
### Related projects
30
+
31
+
*[assign-value](https://www.npmjs.com/package/assign-value): Assign a value or extend a deeply nested property of an object using object path… [more](https://github.com/jonschlinkert/assign-value) | [homepage](https://github.com/jonschlinkert/assign-value"Assign a value or extend a deeply nested property of an object using object path notation.")
32
+
*[get-value](https://www.npmjs.com/package/get-value): Use property paths (`a.b.c`) to get a nested value from an object. | [homepage](https://github.com/jonschlinkert/get-value"Use property paths (`a.b.c`) to get a nested value from an object.")
33
+
*[has-value](https://www.npmjs.com/package/has-value): Returns true if a value exists, false if empty. Works with deeply nested values using… [more](https://github.com/jonschlinkert/has-value) | [homepage](https://github.com/jonschlinkert/has-value"Returns true if a value exists, false if empty. Works with deeply nested values using object paths.")
34
+
*[set-value](https://www.npmjs.com/package/set-value): Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths. | [homepage](https://github.com/jonschlinkert/set-value"Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths.")
35
+
*[unset-value](https://www.npmjs.com/package/unset-value): Delete nested properties from an object using dot notation. | [homepage](https://github.com/jonschlinkert/unset-value"Delete nested properties from an object using dot notation.")
36
+
37
+
### Contributing
38
+
39
+
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
40
+
41
+
### Building docs
42
+
43
+
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
32
44
33
-
## Running tests
34
-
Install dev dependencies:
45
+
To generate the readme, run the following command:
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/union-value/issues/new).
51
+
### Running tests
52
+
53
+
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
0 commit comments