feross / feross/buffer

ESM Support

Open
#336 4 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.9k
Forks
260
PR merge metrics
No merged PRs in 30d

Description

Hey,
Noob question here: From the docs, we should:

```javascript
var Buffer = require('buffer/').Buffer // note: the trailing slash is important!
```
Question: How does one use the import/export style and is it supported?

For example:

```javascript
import { Buffer } from 'buffer/'
```

Ty!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.