mongodb-schema
Advanced tools
Comparing version
@@ -6,2 +6,7 @@ var schema_sync = require('./lib/mongodb-schema.js'); | ||
if (typeof options === 'function') { | ||
callback = options; | ||
options = {}; | ||
} | ||
// only execute on next event loop iteration | ||
@@ -18,2 +23,3 @@ process.nextTick(function () { | ||
module.exports = schema; | ||
module.exports.schema = schema; | ||
module.exports.schema_sync = schema_sync; |
{ | ||
"name": "mongodb-schema", | ||
"description": "Infer a probabilistic schema javascript objects, JSON documents or a MongoDB collection", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"author": "Thomas Rueckstiess <thomas@rueckstiess.net>", | ||
@@ -6,0 +6,0 @@ "license": "Apache", |
27414
0.54%292
1.74%