aboutsummaryrefslogtreecommitdiff
path: root/node_modules/cache-base/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/cache-base/README.md')
-rw-r--r--node_modules/cache-base/README.md24
1 files changed, 12 insertions, 12 deletions
diff --git a/node_modules/cache-base/README.md b/node_modules/cache-base/README.md
index 130a4e211..62c6ffeb6 100644
--- a/node_modules/cache-base/README.md
+++ b/node_modules/cache-base/README.md
@@ -1,4 +1,4 @@
-# cache-base [![NPM version](https://img.shields.io/npm/v/cache-base.svg?style=flat)](https://www.npmjs.com/package/cache-base) [![NPM monthly downloads](https://img.shields.io/npm/dm/cache-base.svg?style=flat)](https://npmjs.org/package/cache-base) [![NPM total downloads](https://img.shields.io/npm/dt/cache-base.svg?style=flat)](https://npmjs.org/package/cache-base) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/cache-base.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/cache-base)
+# cache-base [![NPM version](https://img.shields.io/npm/v/cache-base.svg?style=flat)](https://www.npmjs.com/package/cache-base) [![NPM monthly downloads](https://img.shields.io/npm/dm/cache-base.svg?style=flat)](https://npmjs.org/package/cache-base) [![NPM total downloads](https://img.shields.io/npm/dt/cache-base.svg?style=flat)](https://npmjs.org/package/cache-base) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/cache-base.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/cache-base)
> Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects.
@@ -63,7 +63,7 @@ console.log(app.data);
## API
-### [namespace](index.js#L21)
+### [namespace](index.js#L29)
Create a `Cache` constructor that when instantiated will store values on the given `prop`.
@@ -82,7 +82,7 @@ cache.set('foo', 'bar');
//=> {data: {foo: 'bar'}}
```
-### [Cache](index.js#L35)
+### [Cache](index.js#L43)
Create a new `Cache`. Internally the `Cache` constructor is created using the `namespace` function, with `cache` defined as the storage object.
@@ -96,7 +96,7 @@ Create a new `Cache`. Internally the `Cache` constructor is created using the `n
var app = new Cache();
```
-### [.set](index.js#L76)
+### [.set](index.js#L84)
Assign `value` to `key`. Also emits `set` with the key and value.
@@ -126,7 +126,7 @@ console.log(app);
//=> {name: 'Halle', foo: 'bar', baz: 'quux'}
```
-### [.union](index.js#L106)
+### [.union](index.js#L114)
Union `array` to `key`. Also emits `set` with the key and value.
@@ -145,7 +145,7 @@ console.log(app.get('a'));
//=> {b: ['foo', 'bar']}
```
-### [.get](index.js#L136)
+### [.get](index.js#L144)
Return the value of `key`. Dot notation may be used to get [nested property values](https://github.com/jonschlinkert/get-value).
@@ -169,7 +169,7 @@ app.get(['a', 'b']);
//=> {c: 'd'}
```
-### [.has](index.js#L163)
+### [.has](index.js#L171)
Return true if app has a stored value for `key`, false only if value is `undefined`.
@@ -190,7 +190,7 @@ app.has('foo');
//=> true
```
-### [.del](index.js#L191)
+### [.del](index.js#L199)
Delete one or more properties from the instance.
@@ -213,7 +213,7 @@ app.del('foo');
app.del(['foo', 'bar']);
```
-### [.clear](index.js#L210)
+### [.clear](index.js#L218)
Reset the entire cache to an empty object.
@@ -223,7 +223,7 @@ Reset the entire cache to an empty object.
app.clear();
```
-### [.visit](index.js#L227)
+### [.visit](index.js#L235)
Visit `method` over the properties in the given object, or map
visit over the object-elements in an array.
@@ -253,7 +253,7 @@ Pull requests and stars are always welcome. For bugs and feature requests, [plea
| **Commits** | **Contributor** |
| --- | --- |
-| 51 | [jonschlinkert](https://github.com/jonschlinkert) |
+| 54 | [jonschlinkert](https://github.com/jonschlinkert) |
| 2 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) |
### Building docs
@@ -288,4 +288,4 @@ Released under the [MIT License](LICENSE).
***
-_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on February 25, 2017._ \ No newline at end of file
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on July 22, 2017._ \ No newline at end of file