Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derhuerst/buffer-ponyfill
Use the Node core buffer module, both in browsers and in Node.
https://github.com/derhuerst/buffer-ponyfill
browser buffer isomorphic node ponyfill
Last synced: 6 days ago
JSON representation
Use the Node core buffer module, both in browsers and in Node.
- Host: GitHub
- URL: https://github.com/derhuerst/buffer-ponyfill
- Owner: derhuerst
- License: isc
- Created: 2018-06-01T10:00:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-25T10:30:12.000Z (over 6 years ago)
- Last Synced: 2024-10-29T21:41:51.412Z (16 days ago)
- Topics: browser, buffer, isomorphic, node, ponyfill
- Language: JavaScript
- Homepage: https://github.com/derhuerst/buffer-ponyfill#buffer-ponyfill
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# buffer-ponyfill
**Use the [Node core `buffer` module](https://nodejs.org/api/buffer.html), in Node, browsers and [react-native](https://facebook.github.io/react-native/).** Powered by the lovely [`feross/buffer`](https://github.com/feross/buffer). ❤️
*Note*: If you're just building a web project, both [Browserify](http://browserify.org) and [Webpack](https://webpack.js.org/) will add shims automatically if you use `Buffer`, so in this case `buffer-ponyfill` is not necessary. This package can help you with [react-native](https://facebook.github.io/react-native/) though.
[![npm version](https://img.shields.io/npm/v/buffer-ponyfill.svg)](https://www.npmjs.com/package/buffer-ponyfill)
[![build status](https://api.travis-ci.org/derhuerst/buffer-ponyfill.svg?branch=master)](https://travis-ci.org/derhuerst/buffer-ponyfill)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/buffer-ponyfill.svg)
[![chat with me on Gitter](https://img.shields.io/badge/chat%20with%20me-on%20gitter-512e92.svg)](https://gitter.im/derhuerst)
[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)## Installation
```shell
npm install buffer-ponyfill
```## Usage
```js
const Buffer = require('buffer-ponyfill')
// use it
```## Contributing
If you have a question or have difficulties using `buffer-ponyfill`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/buffer-ponyfill/issues).