Skip to content

Commit 80cbb8a

Browse files
committed
run verb
1 parent cd81b43 commit 80cbb8a

File tree

2 files changed

+38
-47
lines changed

2 files changed

+38
-47
lines changed

.verb.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# {%= name %} {%= badge("fury") %} {%= badge("travis") %}
2-
3-
> {%= description %}
4-
5-
## Install
6-
{%= include("install-npm", {save: true}) %}
7-
81
## Usage
92

103
```js
@@ -18,23 +11,3 @@ union(obj, 'a.b.c', ['three']);
1811
console.log(obj);
1912
//=> {a: {b: {c: [ 'one', 'two', 'three' ] }}}
2013
```
21-
22-
## Similar projects
23-
{%= related(verb.related.list) %}
24-
25-
## Running tests
26-
{%= include("tests") %}
27-
28-
## Contributing
29-
{%= include("contributing") %}
30-
31-
## Author
32-
{%= include("author") %}
33-
34-
## License
35-
{%= copyright() %}
36-
{%= license %}
37-
38-
***
39-
40-
{%= include("footer") %}

README.md

Lines changed: 38 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
# union-value [![NPM version](https://img.shields.io/npm/v/union-value.svg)](https://www.npmjs.com/package/union-value) [![Build Status](https://img.shields.io/travis/jonschlinkert/union-value.svg)](https://travis-ci.org/jonschlinkert/union-value)
1+
# union-value [![NPM version](https://img.shields.io/npm/v/union-value.svg?style=flat)](https://www.npmjs.com/package/union-value) [![NPM monthly downloads](https://img.shields.io/npm/dm/union-value.svg?style=flat)](https://npmjs.org/package/union-value) [![NPM total downloads](https://img.shields.io/npm/dt/union-value.svg?style=flat)](https://npmjs.org/package/union-value) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/union-value.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/union-value)
22

33
> Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
44
55
## Install
6+
67
Install with [npm](https://www.npmjs.com/):
78

89
```sh
9-
$ npm i union-value --save
10+
$ npm install --save union-value
1011
```
1112

1213
## Usage
@@ -23,33 +24,50 @@ console.log(obj);
2324
//=> {a: {b: {c: [ 'one', 'two', 'three' ] }}}
2425
```
2526

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.)_
3244

33-
## Running tests
34-
Install dev dependencies:
45+
To generate the readme, run the following command:
3546

3647
```sh
37-
$ npm i -d && npm test
48+
$ npm install -g verbose/verb#dev verb-generate-readme && verb
3849
```
3950

40-
## Contributing
41-
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:
54+
55+
```sh
56+
$ npm install && npm test
57+
```
58+
59+
### Author
4260

43-
## Author
4461
**Jon Schlinkert**
4562

46-
+ [github/jonschlinkert](https://github.com/jonschlinkert)
47-
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
63+
* [github/jonschlinkert](https://github.com/jonschlinkert)
64+
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
65+
66+
### License
4867

49-
## License
50-
Copyright © 2016 [Jon Schlinkert](https://github.com/jonschlinkert)
51-
Released under the MIT license.
68+
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
69+
Released under the [MIT License](LICENSE).
5270

5371
***
5472

55-
_This file was generated by [verb](https://github.com/verbose/verb) on January 19, 2016._
73+
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on February 25, 2017._

0 commit comments

Comments
 (0)