Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update readme

  • Loading branch information...
commit 9cfd86f8fde0b46a923ede2425774241d193baa1 1 parent f6e70cb
Mikito Takada authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 readme.md
View
8 readme.md
@@ -2,6 +2,12 @@
Allows you to do a require() with a custom context.
+# Installing:
+
+ npm install requireincontext
+
+# Using:
+
Useful for emulating a browser environment in Node:
var requireInContext = require('requireincontext');
@@ -17,5 +23,3 @@ Or for specifying mock objects for running tests:
mydependency: require('./dependency_mock.js')
});
-
-
Please sign in to comment.
Something went wrong with that request. Please try again.