Package Exports
- require-from-string
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (require-from-string) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
require-from-string 
Load module from string in Node.
Install
$ npm install --save require-from-stringUsage
var requireFromString = require('require-from-string');
requireFromString('module.exports = 1');
//=> 1API
requireFromString(code, [filename])
code
Required
Type: string
Module code.
filename
Type: string
Optional filename.
License
MIT © Vsevolod Strukchinsky