Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Just expose a main module, not a lib dir

  • Loading branch information...
commit f82b56a23629fad0a878c0707fffd9e55253b21d 1 parent 56a7171
@isaacs isaacs authored
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
4 README.md
@@ -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
1  index.js
@@ -0,0 +1 @@
+module.exports=require("./lib/slide")
View
3  lib/slide.js
@@ -0,0 +1,3 @@
+exports.asyncMap = require("./async-map")
+exports.bindActor = require("./bind-actor")
+exports.chain = require("./chain")
View
2  package.json
@@ -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"
}
Please sign in to comment.
Something went wrong with that request. Please try again.