diff --git a/index.js b/index.js new file mode 100644 index 0000000..1c6f810 --- /dev/null +++ b/index.js @@ -0,0 +1,3 @@ +var Datastore = require('./lib/datastore'); + +module.exports = Datastore; diff --git a/package.json b/package.json index 79eab64..4823b6c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nedb", - "version": "0.0.2", + "version": "0.0.3", "author": { "name": "tldr.io", "email": "hello@tldr.io" @@ -33,6 +33,6 @@ "scripts": { "test": "make test" }, - "main": "server", + "main": "index", "licence": "MIT" }