@jser/data-fetcher
v2.0.0
Published
Data Fetcher library for dataset.
Downloads
110
Readme
@jser/data-fetcher
Data Fetcher library for dataset. It includes types for response.
Install
Install with npm:
npm install @jser/data-fetcher
Usage
import { fetchItems, fetchPostDetails, fetchPosts } from "@jser/data-fetcher";
- items: http://jser.info/source-data/items.json
- posts: http://jser.info/posts.json
- post details: https://jser.info/public/data/post-details.json
Changelog
See Releases page.
Running tests
Install devDependencies and Run npm test
:
npm i -d && npm test
Contributing
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
License
MIT © azu