{"name":"require-from-string","version":"2.0.1","description":"Require module from string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/floatdrop/require-from-string.git"},"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com","url":"github.com/floatdrop"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":[],"dependencies":{},"devDependencies":{"mocha":"*"},"gitHead":"cbe9197bfb08e7354b2e84cd060ba36fc476e1d3","bugs":{"url":"https://github.com/floatdrop/require-from-string/issues"},"homepage":"https://github.com/floatdrop/require-from-string#readme","_id":"require-from-string@2.0.1","_shasum":"c545233e9d7da6616e9d59adfb39fc9f588676ff","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.1","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"dist":{"shasum":"c545233e9d7da6616e9d59adfb39fc9f588676ff","tarball":"http://registry-npm.ywwl.com/require-from-string/download/require-from-string-2.0.1.tgz","integrity":"sha512-McvI+pnbFkdwzAcXx2b8WKmSo9ucq6mlVcLd2ZgxuwOknFtj5dz9PTleVfMVTgcp5ucJ8CMDqYkJ3jDZImvcxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYDVuCZAdTg4i4CkF9ALbEwb1epiOGL7/8rCkwRGwfiAIgEJTKgxOB1rOsfMf46tMJGvwSkcYrFbEL7n5Ute5iVMA="}],"size":1831,"noattachment":false,"key":"/require-from-string/-/require-from-string-2.0.1.tgz"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/require-from-string-2.0.1.tgz_1505631156427_0.9107523618731648"},"directories":{},"readme":"# require-from-string [![Build Status](https://travis-ci.org/floatdrop/require-from-string.svg?branch=master)](https://travis-ci.org/floatdrop/require-from-string)\n\nLoad module from string in Node.\n\n## Install\n\n```\n$ npm install --save require-from-string\n```\n\n\n## Usage\n\n```js\nvar requireFromString = require('require-from-string');\n\nrequireFromString('module.exports = 1');\n//=> 1\n```\n\n\n## API\n\n### requireFromString(code, [filename], [options])\n\n#### code\n\n*Required*  \nType: `string`\n\nModule code.\n\n#### filename\nType: `string`  \nDefault: `''`\n\nOptional filename.\n\n\n#### options\nType: `object`\n\n##### appendPaths\nType: `Array`\n\nList of `paths`, that will be appended to module `paths`. Useful, when you want\nto be able require modules from these paths.\n\n##### prependPaths\nType: `Array`\n\nSame as `appendPaths`, but paths will be prepended.\n\n## License\n\nMIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)\n","publish_time":1505631157555,"_cnpm_publish_time":1505631157555,"dist-tags":{"latest":"2.0.2"}}