Permalink
Browse files

update readme

  • Loading branch information...
1 parent bfd713a commit 9f7c1d44e4b785c69ee457dff52758c86d889a21 @stephenhandley committed May 1, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
View
8 README.md
@@ -8,7 +8,7 @@ npm install requireindex
```
# Usage
-Assuming a structure like this
+Check the test directory for example usage. The directory tree looks like:
```
-lib/
@@ -21,19 +21,19 @@ Assuming a structure like this
-bam.js
```
-and the index.js files that look like this
+The index.js files look like this:
```js
module.exports = require('requireindex')(__dirname)
```
-the result of
+and the result of
```
require('lib')
```
-is
+is this:
```
{

0 comments on commit 9f7c1d4

Please sign in to comment.