Merge pull request #3 from medayo/fixTypo

docs: fix buffer import example in README.md
This commit is contained in:
Ben Heidemann 2021-03-07 15:26:31 +00:00 committed by GitHub
commit d1054753a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: