From e0d13534ec18d4290aa4293669c469a56bd7d8b6 Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Wed, 21 Sep 2022 17:31:45 +0100 Subject: [PATCH] docs: update readme examples to be esm (#55) --- 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 `