File: README.md

package info (click to toggle)
node-typedarray-to-buffer 4.0.0%2B~4.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 140 kB
  • sloc: javascript: 47; makefile: 17
file content (24 lines) | stat: -rw-r--r-- 826 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Installation
> `npm install --save @types/typedarray-to-buffer`

# Summary
This package contains type definitions for typedarray-to-buffer (https://github.com/feross/typedarray-to-buffer).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/typedarray-to-buffer.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/typedarray-to-buffer/index.d.ts)
````ts
/// <reference types="node" />

declare function typedarrayToBuffer(arr: ArrayBufferView): Buffer;

export = typedarrayToBuffer;

````

### Additional Details
 * Last updated: Wed, 07 Feb 2024 13:06:44 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Leon Si](https://github.com/leonsilicon).