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
> Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects.
3
+
Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects.
4
4
5
5
## Install
6
6
@@ -145,7 +145,7 @@ console.log(app.get('a'));
145
145
//=> {b: ['foo', 'bar']}
146
146
```
147
147
148
-
### [.get](index.js#L132)
148
+
### [.get](index.js#L136)
149
149
150
150
Return the value of `key`. Dot notation may be used to get [nested property values][get-value].
151
151
@@ -169,7 +169,7 @@ app.get(['a', 'b']);
169
169
//=> {c: 'd'}
170
170
```
171
171
172
-
### [.has](index.js#L159)
172
+
### [.has](index.js#L163)
173
173
174
174
Return true if app has a stored value for `key`, false only if value is `undefined`.
175
175
@@ -190,7 +190,7 @@ app.has('foo');
190
190
//=> true
191
191
```
192
192
193
-
### [.del](index.js#L187)
193
+
### [.del](index.js#L191)
194
194
195
195
Delete one or more properties from the instance.
196
196
@@ -213,7 +213,7 @@ app.del('foo');
213
213
app.del(['foo', 'bar']);
214
214
```
215
215
216
-
### [.clear](index.js#L206)
216
+
### [.clear](index.js#L210)
217
217
218
218
Reset the entire cache to an empty object.
219
219
@@ -223,7 +223,7 @@ Reset the entire cache to an empty object.
223
223
app.clear();
224
224
```
225
225
226
-
### [.visit](index.js#L223)
226
+
### [.visit](index.js#L227)
227
227
228
228
Visit `method` over the properties in the given object, or map
229
229
visit over the object-elements in an array.
@@ -247,20 +247,16 @@ You might also be interested in these projects:
247
247
248
248
## Contributing
249
249
250
+
This document was generated by [verb](https://github.com/verbose/verb), please don't edit directly. Any changes to the readme must be made in [.verb.md](.verb.md). See [Building Docs](#building-docs).
251
+
250
252
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/cache-base/issues/new).
251
253
252
254
## Building docs
253
255
254
256
Generate readme and API documentation with [verb](https://github.com/verbose/verb):
255
257
256
258
```sh
257
-
$ npm install verb && npm run docs
258
-
```
259
-
260
-
Or, if [verb](https://github.com/verbose/verb) is installed globally:
0 commit comments