Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Please get in contact with us, if you are using some parts of node-cache's inter
# Install

```bash
npm install node-cache --save
npm install node-cache --save
```

Or just require the `node_cache.js` file to get the superclass
Expand Down Expand Up @@ -243,10 +243,10 @@ myCache.set( "ttlKey", "MyExpireData" )
myCache.set( "noTtlKey", "NonExpireData", 0 )

ts = myCache.getTtl( "ttlKey" )
// ts wil be approximately 1456000600000
// ts will be approximately 1456000600000

ts = myCache.getTtl( "ttlKey" )
// ts wil be approximately 1456000600000
// ts will be approximately 1456000600000

ts = myCache.getTtl( "noTtlKey" )
// ts = 0
Expand Down