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 | // Type definitions for rollup-plugin-node-builtins 2.1
|
12 | // Project: https://github.com/calvinmetcalf/rollup-plugin-node-builtins#readme
|
13 | // Definitions by: Hugo Alliaume <https://github.com/Kocal>
|
14 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
15 | // TypeScript Version: 2.3
|
16 |
|
17 | /// <reference types="node" />
|
18 |
|
19 | import { Plugin } from 'rollup';
|
20 |
|
21 | declare namespace builtins {
|
22 | interface Options {
|
23 | crypto?: boolean | undefined;
|
24 | fs?: boolean | undefined;
|
25 | }
|
26 | }
|
27 |
|
28 | export = builtins;
|
29 | declare function builtins(options?: builtins.Options): Plugin;
|
30 |
|
31 | ````
|
32 |
|
33 | ### Additional Details
|
34 | * Last updated: Thu, 08 Jul 2021 22:42:08 GMT
|
35 | * Dependencies: [@types/rollup](https://npmjs.com/package/@types/rollup), [@types/node](https://npmjs.com/package/@types/node)
|
36 | * Global values: none
|
37 |
|
38 | # Credits
|
39 | These definitions were written by [Hugo Alliaume](https://github.com/Kocal).
|
40 |
|
\ | No newline at end of file |