From d8119ad9239180839e645d7a175e843a9bb125b6 Mon Sep 17 00:00:00 2001 From: Louis Chatriot Date: Sat, 4 May 2013 14:05:37 +0200 Subject: [PATCH] Export the object --- index.js | 3 +++ package.json | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 00000000..1c6f810b --- /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 79eab64c..4823b6cf 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" }