lodde v1.0.2
The philosophy
Lodde name originated from Capelin, kind of a fish from North Atlantic, North Pacific and Arctic oceans. Secondly, also because it's main purpose is to wrap the loads of API's http requests. So, lodde fish and lodde load. That's all.
Built With
Installation
Run these following commands
Add lodde to your node package's dependency
npm install lodde
Continue reading the
Usage
section below on how to use the functions provided by lodde.
Usage
To be able to call lodde's functions, first, instantiate the loddeClient
const loddeClient = lodde.init();
and then, to call functions, for example, you can run the following
example command:
loddeClient.getAll()
becase the returned value of functions is javascript Promise
, then you can handle it by following
loddeClient
.getAll()
.then((responseData) => {
console.log(responseData);
})
.catch((error) => {
console.log(error);
});
Functions available
For more examples, please refer to the Documentation
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Contact
Reinhard Jonathan Silalahi - @reinhard_js - reinhardjsilalahi@gmail.com
Project Link: https://github.com/reinhardjs/lodde
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago