mirror of
https://github.com/maxswa/osrs-json-hiscores.git
synced 2025-10-15 10:19:04 +00:00
changed import statement to require
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user