Permalink
Browse files

updated readme

  • Loading branch information...
1 parent 7806b77 commit 20b3f6ea97e4f6325a607e77dfd914709b76aabb @tblobaum committed Dec 6, 2011
Showing with 33 additions and 0 deletions.
  1. +33 −0 README.md
View
@@ -0,0 +1,33 @@
+directory
+=========
+A simple module to require all of the other paths in the current directory. A
+path is either a file or a directory.
+
+Installation
+------------
+
+ npm install directory --save
+
+
+Example
+-------
+
+
+```javascript
+
+var plugins = {}
+ , directory = require('directory')
+
+module.exports = function (Mongoose, options) {
+ options = options || { debug:false }
+
+ directory(__dirname, function (module) {
+ Mongoose.plugin(module, options)
+ })
+
+}
+
+````
+
+MIT License
+

0 comments on commit 20b3f6e

Please sign in to comment.