1 # require-from-string [![Build Status](https://travis-ci.org/floatdrop/require-from-string.svg?branch=master)](https://travis-ci.org/floatdrop/require-from-string)
3 Load module from string in Node.
8 $ npm install --save require-from-string
15 var requireFromString = require('require-from-string');
17 requireFromString('module.exports = 1');
24 ### requireFromString(code, [filename], [options])
46 List of `paths`, that will be appended to module `paths`. Useful, when you want
47 to be able require modules from these paths.
52 Same as `appendPath`, but paths will be prepended.
56 MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)