Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alibasiccoder/node-buffer
https://github.com/alibasiccoder/node-buffer
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alibasiccoder/node-buffer
- Owner: AliBasicCoder
- License: mit
- Created: 2020-06-05T18:55:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-06T06:42:36.000Z (over 4 years ago)
- Last Synced: 2024-11-27T21:16:40.327Z (3 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
```