1 | # Installation
|
2 | > `npm install --save @types/rollup-plugin-node-builtins`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for rollup-plugin-node-builtins (https://github.com/calvinmetcalf/rollup-plugin-node-builtins#readme).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-node-builtins.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-node-builtins/index.d.ts)
|
10 | ````ts
|
11 | /// <reference types="node" />
|
12 |
|
13 | import { Plugin } from "rollup";
|
14 |
|
15 | declare namespace builtins {
|
16 | interface Options {
|
17 | crypto?: boolean | undefined;
|
18 | fs?: boolean | undefined;
|
19 | }
|
20 | }
|
21 |
|
22 | export = builtins;
|
23 | declare function builtins(options?: builtins.Options): Plugin;
|
24 |
|
25 | ````
|
26 |
|
27 | ### Additional Details
|
28 | * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
|
29 | * Dependencies: [@types/node](https://npmjs.com/package/@types/node), [rollup](https://npmjs.com/package/rollup)
|
30 |
|
31 | # Credits
|
32 | These definitions were written by [Hugo Alliaume](https://github.com/Kocal).
|
33 |
|
\ | No newline at end of file |