union-value
Advanced tools
+1
-1
| The MIT License (MIT) | ||
| Copyright (c) 2015-2016, Jon Schlinkert. | ||
| Copyright (c) 2015-2017, Jon Schlinkert | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
+18
-6
| { | ||
| "name": "union-value", | ||
| "description": "Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.", | ||
| "version": "0.2.3", | ||
| "version": "0.2.4", | ||
| "homepage": "https://github.com/jonschlinkert/union-value", | ||
@@ -23,10 +23,11 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
| "dependencies": { | ||
| "arr-union": "^3.0.0", | ||
| "get-value": "^2.0.2", | ||
| "arr-union": "^3.1.0", | ||
| "get-value": "^2.0.6", | ||
| "is-extendable": "^0.1.1", | ||
| "set-value": "^0.3.3" | ||
| "set-value": "^0.4.3" | ||
| }, | ||
| "devDependencies": { | ||
| "mocha": "*", | ||
| "should": "*" | ||
| "gulp-format-md": "^0.1.11", | ||
| "mocha": "^3.2.0", | ||
| "should": "^11.2.0" | ||
| }, | ||
@@ -49,2 +50,10 @@ "keywords": [ | ||
| "verb": { | ||
| "toc": false, | ||
| "layout": "default", | ||
| "tasks": [ | ||
| "readme" | ||
| ], | ||
| "plugins": [ | ||
| "gulp-format-md" | ||
| ], | ||
| "related": { | ||
@@ -58,4 +67,7 @@ "list": [ | ||
| ] | ||
| }, | ||
| "lint": { | ||
| "reflinks": true | ||
| } | ||
| } | ||
| } |
+38
-20
@@ -1,2 +0,2 @@ | ||
| # union-value [](https://www.npmjs.com/package/union-value) [](https://travis-ci.org/jonschlinkert/union-value) | ||
| # 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) | ||
@@ -6,6 +6,7 @@ > Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation. | ||
| ## Install | ||
| Install with [npm](https://www.npmjs.com/): | ||
| ```sh | ||
| $ npm i union-value --save | ||
| $ npm install --save union-value | ||
| ``` | ||
@@ -27,31 +28,48 @@ | ||
| ## Similar projects | ||
| * [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) | ||
| * [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) | ||
| * [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) | ||
| * [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) | ||
| * [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) | ||
| ## About | ||
| ## Running tests | ||
| Install dev dependencies: | ||
| ### Related projects | ||
| * [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.") | ||
| * [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.") | ||
| * [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.") | ||
| * [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.") | ||
| * [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.") | ||
| ### Contributing | ||
| Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). | ||
| ### Building docs | ||
| _(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.)_ | ||
| To generate the readme, run the following command: | ||
| ```sh | ||
| $ npm i -d && npm test | ||
| $ npm install -g verbose/verb#dev verb-generate-readme && verb | ||
| ``` | ||
| ## Contributing | ||
| Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/union-value/issues/new). | ||
| ### Running tests | ||
| ## Author | ||
| 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: | ||
| ```sh | ||
| $ npm install && npm test | ||
| ``` | ||
| ### Author | ||
| **Jon Schlinkert** | ||
| + [github/jonschlinkert](https://github.com/jonschlinkert) | ||
| + [twitter/jonschlinkert](http://twitter.com/jonschlinkert) | ||
| * [github/jonschlinkert](https://github.com/jonschlinkert) | ||
| * [twitter/jonschlinkert](https://twitter.com/jonschlinkert) | ||
| ## License | ||
| Copyright © 2016 [Jon Schlinkert](https://github.com/jonschlinkert) | ||
| Released under the MIT license. | ||
| ### License | ||
| Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert). | ||
| Released under the [MIT License](LICENSE). | ||
| *** | ||
| _This file was generated by [verb](https://github.com/verbose/verb) on January 19, 2016._ | ||
| _This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on February 25, 2017._ |
6835
27.49%73
30.36%3
50%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated