diff options
Diffstat (limited to 'tests/registry/npm/require-from-string')
-rw-r--r-- | tests/registry/npm/require-from-string/registry.json | 69 |
1 files changed, 68 insertions, 1 deletions
diff --git a/tests/registry/npm/require-from-string/registry.json b/tests/registry/npm/require-from-string/registry.json index 046c34cd0..25426e3ef 100644 --- a/tests/registry/npm/require-from-string/registry.json +++ b/tests/registry/npm/require-from-string/registry.json @@ -1 +1,68 @@ -{"name":"require-from-string","description":"Require module from string","dist-tags":{"latest":"2.0.2"},"versions":{"2.0.2":{"name":"require-from-string","version":"2.0.2","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"],"dependencies":{},"devDependencies":{"mocha":"*"},"gitHead":"d1575a49065eb7a49b86b4de963f04f1a14dfd60","bugs":{"url":"https://github.com/floatdrop/require-from-string/issues"},"_id":"require-from-string@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","dist":{"integrity":"sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==","shasum":"89a7fdd938261267318eafe14f9c32e598c36909","tarball":"http://localhost:4260/require-from-string/require-from-string-2.0.2.tgz","fileCount":4,"unpackedSize":3422,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE2jrMs9LEA5YwPbB+k86fiEWbTiZrILb/xQp2cSIEePAiEApTYU69t0eG1qFeeVayYDlVRtYxsT4vFi9gJB5pqvtXE="}]},"directories":{},"_hasShrinkwrap":false}},"readme":"# require-from-string [](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","homepage":"https://github.com/floatdrop/require-from-string#readme","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"},"bugs":{"url":"https://github.com/floatdrop/require-from-string/issues"},"license":"MIT","readmeFilename":"readme.md"} +{ + "name": "require-from-string", + "description": "Require module from string", + "dist-tags": { + "latest": "2.0.2" + }, + "versions": { + "2.0.2": { + "name": "require-from-string", + "version": "2.0.2", + "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" + ], + "dependencies": {}, + "devDependencies": { + "mocha": "*" + }, + "gitHead": "d1575a49065eb7a49b86b4de963f04f1a14dfd60", + "bugs": { + "url": "https://github.com/floatdrop/require-from-string/issues" + }, + "_id": "require-from-string@2.0.2", + "_npmVersion": "5.6.0", + "_nodeVersion": "9.5.0", + "dist": { + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "shasum": "89a7fdd938261267318eafe14f9c32e598c36909", + "tarball": "http://localhost:4260/require-from-string/require-from-string-2.0.2.tgz", + "fileCount": 4, + "unpackedSize": 3422 + }, + "directories": {}, + "_hasShrinkwrap": false + } + }, + "homepage": "https://github.com/floatdrop/require-from-string#readme", + "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" + }, + "bugs": { + "url": "https://github.com/floatdrop/require-from-string/issues" + }, + "license": "MIT", + "readmeFilename": "readme.md" +} |