1 | # Installation
|
2 | > `npm install --save @types/freeport`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for freeport (https://github.com/daaku/nodejs-freeport).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/freeport.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/freeport/index.d.ts)
|
10 | ````ts
|
11 | // Type definitions for freeport 1.0
|
12 | // Project: https://github.com/daaku/nodejs-freeport
|
13 | // Definitions by: Arne Schubert <https://github.com/atd-schubert>
|
14 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
15 |
|
16 | declare function freeport(cb: (err: Error | null, port: number | null) => void): void;
|
17 | declare namespace freeport {}
|
18 |
|
19 | export = freeport;
|
20 |
|
21 | ````
|
22 |
|
23 | ### Additional Details
|
24 | * Last updated: Mon, 23 Aug 2021 15:01:27 GMT
|
25 | * Dependencies: none
|
26 | * Global values: none
|
27 |
|
28 | # Credits
|
29 | These definitions were written by [Arne Schubert](https://github.com/atd-schubert).
|
30 |
|
\ | No newline at end of file |