From 887ed9318a5bf9d4d60f9e1ae2c049283a76130d Mon Sep 17 00:00:00 2001 From: bcheidemann Date: Sun, 7 Mar 2021 15:25:52 +0000 Subject: [PATCH] docs: fix buffer import example in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a64714..e1e73d5 100644 --- a/README.md +++ b/README.md @@ -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: