@@ -94,7 +94,7 @@ module.exports = class NodeCache extends EventEmitter
9494 if (err = @ _isInvalidKey ( key ))?
9595 throw err
9696
97- # get data and incremet stats
97+ # get data and increment stats
9898 if @data [ key ]? and @ _check ( key, @data [ key ] )
9999 @stats .hits ++
100100 _ret = @ _unwrap ( @data [ key ] )
@@ -148,7 +148,7 @@ module.exports = class NodeCache extends EventEmitter
148148 # **Parameters:**
149149 #
150150 # * `key` ( String | Number ): cache key
151- # * `value` ( Any ): A element to cache. If the option `option.forceString` is `true` the module trys to translate it to a serialized JSON
151+ # * `value` ( Any ): An element to cache. If the option `option.forceString` is `true` the module trys to translate it to a serialized JSON
152152 # * `[ ttl ]` ( Number | String ): ( optional ) The time to live in seconds.
153153 #
154154 # **Example:**
@@ -204,7 +204,7 @@ module.exports = class NodeCache extends EventEmitter
204204 #
205205 # **Parameters:**
206206 #
207- # * `keyValueSet` ( Object[] ): an array of object which includes key,value and ttl
207+ # * `keyValueSet` ( Object[] ): an array of objects which include key, value, and ttl
208208 #
209209 # **Example:**
210210 #
@@ -251,7 +251,7 @@ module.exports = class NodeCache extends EventEmitter
251251 #
252252 # **Parameters:**
253253 #
254- # * `keys` ( String | Number | String|Number[] ): cache key to delete or a array of cache keys
254+ # * `keys` ( String | Number | String|Number[] ): cache key to delete or an array of cache keys
255255 #
256256 # **Return**
257257 #
@@ -357,7 +357,7 @@ module.exports = class NodeCache extends EventEmitter
357357 #
358358 # **Parameters:**
359359 #
360- # * `key` ( String | Number ): cache key to check the ttl value
360+ # * `key` ( String | Number ): cache key to check the ttl value of
361361 #
362362 # **Return**
363363 #
0 commit comments