creationix/nstore — pull request #40 by iangreenleaf (2013-07-31 07:26:32+00:00)
Title: `clear` not defined?

I can't seem to use `clear` on my database.

```coffeescript
nStore = require 'nstore'
nStore.new 'data/pets.db', (err, petsDB) ->
return console.log err if err?
petsDB.clear (err) ->
console.log err if err?
```

I get an error:

> TypeError: Object #