@types/require-from-string
- Version 1.2.3
- Published
- 4.16 kB
- No dependencies
- MIT license
Install
npm i @types/require-from-string
yarn add @types/require-from-string
pnpm add @types/require-from-string
Overview
TypeScript definitions for require-from-string
Index
Functions
Interfaces
Functions
function requireFromString
requireFromString: { (code: string, options?: requireFromString.Options): any; (code: string, filename?: string, options?: requireFromString.Options): any;};
Load module from string in Node.
Interfaces
interface Options
interface Options {}
property appendPaths
appendPaths?: string[] | undefined;
List of
paths
, that will be appended to modulepaths
. Useful when you want to be able require modules from these paths.
property prependPaths
prependPaths?: string[] | undefined;
List of
paths
, that will be preppended to modulepaths
. Useful when you want to be able require modules from these paths.
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/require-from-string
.
- Markdown[](https://www.jsdocs.io/package/@types/require-from-string)
- HTML<a href="https://www.jsdocs.io/package/@types/require-from-string"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 665 ms. - Missing or incorrect documentation? Open an issue for this package.