README
LSK.js – server-api
@lskjs/server-api – LSK server-api.
Table of contents
⌨️ Install
# yarn
yarn i @lskjs/server-api axios bluebird lodash
# npm
npm i @lskjs/server-api axios bluebird lodash
Healthcheck examples
healthchecks() {
return {
a: () => 123,
b: () => Bluebird.delay(100).then(() => 1234),
c: () => {
throw new Err('error');
},
d: () => Bluebird.delay(11000).then(() => 'slow'),
};
}
📖 License
This project is licensed under the MIT License - see the LICENSE file for details
👥 Contributors
Igor Suvorov 💻 🎨 🤔 |
👏 Contributing
- Fork it (https://github.com/yourname/yourproject/fork)
- Create your feature branch (
git checkout -b features/fooBar
) - Commit your changes (
git commit -am 'feat(image): Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request