From d4ff2742b962bbdad69576b1d6189ffedc93d496 Mon Sep 17 00:00:00 2001 From: maxswa Date: Fri, 18 May 2018 22:09:58 -0400 Subject: [PATCH] changed import statement to require --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 369ddc8..85db8ab 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ $ npm install osrs-json-hiscores ## How to use Install the package via npm and then import it into your project: ```javascript -import hiscores from 'osrs-json-hiscores' +const hiscores = require('osrs-json-hiscores') ``` Once you import it you can call the functions asynchronously: ```javascript