7.8.1 • Published 6 years ago
lol-items v7.8.1
lol-items
Simplified, up-to-date, League of Legends items list.
Install
$ npm install --save lol-items
Usage
Fetch items
import fetch from 'lol-items'
fetch().then((items) => console.log(items))
//=> array of items
// without circular references
fetch({ flat: true }).then((items) => console.log(items))
//=> array of items
Snapshot
import items from 'lol-items/items'
console.log(items)
//=> array of items
The snapshot can also be downloaded.
License
MIT © Nicolas Gryman