docs: fix buffer import example in README.md

This commit is contained in:
bcheidemann 2021-03-07 15:25:52 +00:00
parent a2151cab25
commit 887ed9318a
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ import path from 'path';
It may be necessary in certain cases to shim the node.js [Buffer object](http://nodejs.org/api/buffer.html). This can be impoerted as follows:
```javascript
import path from 'path';
import { Buffer } from 'buffer';
```
As such it can be shimmed in much the same way as path and fs: