Permalink
Browse files

Just expose a main module, not a lib dir

  • Loading branch information...
1 parent 56a7171 commit f82b56a23629fad0a878c0707fffd9e55253b21d @isaacs isaacs committed Feb 3, 2011
Showing with 7 additions and 3 deletions.
  1. +2 −2 README.md
  2. +1 −0 index.js
  3. +3 −0 lib/slide.js
  4. +1 −1 package.json
View
@@ -20,8 +20,8 @@ you can do this:
and then:
- var asyncMap = require("slide/async-map")
- , chain = require("slide/chain")
+ var asyncMap = require("slide").asyncMap
+ , chain = require("slide").chain
// use the power!
Enjoy!
View
@@ -0,0 +1 @@
+module.exports=require("./lib/slide")
View
@@ -0,0 +1,3 @@
+exports.asyncMap = require("./async-map")
+exports.bindActor = require("./bind-actor")
+exports.chain = require("./chain")
View
@@ -3,5 +3,5 @@
, "author" : "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)"
, "contributors" : [ "S. Sriram <ssriram@gmail.com> (http://www.565labs.com)" ]
, "description" : "A flow control lib small enough to fit on in a slide presentation. Derived live at Oak.JS"
-, "directories" : { "lib" : "lib" }
+, "main" : "./lib/slide.js"
}

0 comments on commit f82b56a

Please sign in to comment.