From e401be9cc0ee3b417b821006e4fb9097dd902189 Mon Sep 17 00:00:00 2001 From: ina6ra Date: Tue, 27 Oct 2020 12:33:55 +0900 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 40eb595..683756c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ Simple modern way to make http requests. Supports HTTPS, ES6, JSON and Promises. +### Loading + +```js +// CommonJS +const { get } = require('simple-get-promise'); + +// ES Module +import { get } from 'simple-get-promise'; +``` + ### Simple GET ```js