Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alibasiccoder/node-buffer


https://github.com/alibasiccoder/node-buffer

Last synced: 21 days ago
JSON representation

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
```