From e2a8f68fc6ea50f4179513013c6f60c6416ec807 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Wed, 21 Sep 2022 17:27:05 +0100 Subject: [PATCH] docs: update readme examples to be esm --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c2c48f2..31c7b92 100644 --- a/README.md +++ b/README.md @@ -43,10 +43,6 @@ $ npm i is-ipfs ``` -## Lead Maintainer - -[Marcin Rataj](https://github.com/lidel) - ```bash $ npm install --save is-ipfs ``` @@ -56,7 +52,7 @@ $ npm install --save is-ipfs The code published to npm that gets loaded on require is in fact an ES5 transpiled version with the right shims added. This means that you can require it and use with your favorite bundler without having to adjust asset management process. ```js -const isIPFS from 'is-ipfs') +import * as isIPFS from 'is-ipfs' ``` ### In the Browser through `