https://github.com/alibasiccoder/node-buffer
https://github.com/alibasiccoder/node-buffer
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alibasiccoder/node-buffer
- Owner: AliBasicCoder
- License: mit
- Created: 2020-06-05T18:55:58.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-06T06:42:36.000Z (almost 5 years ago)
- Last Synced: 2025-01-26T10:41:52.692Z (6 months ago)
- Language: JavaScript
- Size: 50.8 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-buffer
a nodejs buffer polyfill for deno using the [buffer](https://github.com/feross/buffer) npm package
## Usage
```ts
import { Buffer } from "http://deno.land/x/node_buffer@version/mod.ts";
// or
import { Buffer } from "https://x.nest.land/node_buffer@version/mod.ts";console.log(
Buffer.from([104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100]).toString()
); // => hello world
```