{"_id":"@types/require-from-string","_rev":"2931664","name":"@types/require-from-string","description":"TypeScript definitions for require-from-string","dist-tags":{"latest":"1.2.1","ts2.0":"1.2.0","ts2.1":"1.2.0","ts2.2":"1.2.0","ts2.3":"1.2.0","ts2.4":"1.2.0","ts2.5":"1.2.0","ts2.6":"1.2.0","ts2.7":"1.2.0","ts2.8":"1.2.0","ts2.9":"1.2.0","ts3.0":"1.2.0","ts3.1":"1.2.0","ts3.2":"1.2.0","ts3.3":"1.2.0","ts3.4":"1.2.0","ts3.5":"1.2.0","ts3.6":"1.2.1","ts3.7":"1.2.1","ts3.8":"1.2.1","ts3.9":"1.2.1","ts4.0":"1.2.1","ts4.1":"1.2.1","ts4.2":"1.2.1","ts4.3":"1.2.1","ts4.4":"1.2.1","ts4.5":"1.2.1","ts4.6":"1.2.1","ts4.7":"1.2.1","ts4.8":"1.2.1","ts4.9":"1.2.1","ts5.0":"1.2.1","ts5.1":"1.2.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-03-14T06:28:44.000Z","created":"2017-08-23T17:54:53.285Z","1.2.1":"2021-07-07T18:05:47.384Z","1.2.0":"2017-08-23T17:54:53.285Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/require-from-string"},"versions":{"1.2.1":{"name":"@types/require-from-string","version":"1.2.1","description":"TypeScript definitions for require-from-string","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/require-from-string","license":"MIT","contributors":[{"name":"Ika","url":"https://github.com/ikatyang","githubUsername":"ikatyang"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/require-from-string"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"843ca775ccfcd2ae85ee8c1d7b3dc73916675bd0976cab563a5de6c6ce5c4533","typeScriptVersion":"3.6","_id":"@types/require-from-string@1.2.1","dist":{"shasum":"50292d824e2244628c0b961c6a1a583fdc494554","size":1735,"noattachment":false,"key":"/@types/require-from-string/-/@types/require-from-string-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/require-from-string/download/@types/require-from-string-1.2.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/require-from-string_1.2.1_1625681147262_0.25909163688989234"},"_hasShrinkwrap":false,"publish_time":1625681147384,"_cnpm_publish_time":1625681147384,"_cnpmcore_publish_time":"2021-12-18T14:27:32.781Z"},"1.2.0":{"name":"@types/require-from-string","version":"1.2.0","description":"TypeScript definitions for require-from-string","license":"MIT","contributors":[{"name":"Ika","url":"https://github.com/ikatyang"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"b80c14ec7c86ca5f97362436bf6fe1dc35cbf1a33c41ac05d96882b97301bfbb","typeScriptVersion":"2.0","_id":"@types/require-from-string@1.2.0","dist":{"shasum":"c18cfc8a2c1a0259e5841d1fef2b5e9d01c64242","size":1650,"noattachment":false,"key":"/@types/require-from-string/-/@types/require-from-string-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/require-from-string/download/@types/require-from-string-1.2.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/require-from-string-1.2.0.tgz_1503510893170_0.6748971724882722"},"directories":{},"publish_time":1503510893285,"_hasShrinkwrap":false,"_cnpm_publish_time":1503510893285,"_cnpmcore_publish_time":"2021-12-18T14:27:33.013Z"}},"readme":"# Installation\r\n> `npm install --save @types/require-from-string`\r\n\r\n# Summary\r\nThis package contains type definitions for require-from-string (https://github.com/floatdrop/require-from-string).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/require-from-string.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/require-from-string/index.d.ts)\r\n````ts\r\n// Type definitions for require-from-string 1.2\n// Project: https://github.com/floatdrop/require-from-string\n// Definitions by: Ika <https://github.com/ikatyang>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\n/**\n * Load module from string in Node.\n */\ndeclare function requireFromString(code: string, options?: requireFromString.Options): any;\ndeclare function requireFromString(code: string, filename?: string, options?: requireFromString.Options): any;\n\ndeclare namespace requireFromString {\n    interface Options {\n        /**\n         * List of `paths`, that will be appended to module `paths`.\n         * Useful when you want to be able require modules from these paths.\n         */\n        appendPaths?: string[] | undefined;\n        /**\n         * List of `paths`, that will be preppended to module `paths`.\n         * Useful when you want to be able require modules from these paths.\n         */\n        prependPaths?: string[] | undefined;\n    }\n}\n\nexport = requireFromString;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Wed, 07 Jul 2021 18:02:24 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Ika](https://github.com/ikatyang).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/require-from-string","license":"MIT"}