Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ngryman/lol-items
Simplified, up-to-date, League of Legends items list.
https://github.com/ngryman/lol-items
Last synced: 21 days ago
JSON representation
Simplified, up-to-date, League of Legends items list.
- Host: GitHub
- URL: https://github.com/ngryman/lol-items
- Owner: ngryman
- Created: 2015-08-01T18:01:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-01-30T18:59:32.000Z (almost 6 years ago)
- Last Synced: 2024-09-24T18:18:13.377Z (about 1 month ago)
- Language: JavaScript
- Size: 166 KB
- Stars: 9
- Watchers: 4
- Forks: 13
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# lol-items [![npm][npm-image]][npm-url] [![travis][travis-image]][travis-url]
[npm-image]: https://img.shields.io/npm/v/lol-items.svg?style=flat
[npm-url]: https://npmjs.org/package/lol-items
[travis-image]: https://img.shields.io/travis/ngryman/lol-items.svg?style=flat
[travis-url]: https://travis-ci.org/ngryman/lol-items> Simplified, up-to-date, League of Legends items list.
## Install
```
$ npm install --save lol-items
```## Usage
### Fetch items
```js
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
```js
import items from 'lol-items/items'console.log(items)
//=> array of items
```The snapshot can also be [downloaded].
[downloaded]: https://github.com/ngryman/lol-items/blob/master/items.json
## License
MIT © [Nicolas Gryman](http://ngryman.sh)