@lskjs/server-api

LSK server-api.

Usage no npm install needed!

<script type="module">
  import lskjsServerApi from 'https://cdn.skypack.dev/@lskjs/server-api';
</script>

README

LSK.js – server-api

@lskjs/server-api – LSK server-api.

LSK logo NPM version NPM downloads NPM Dependency count Have TypeScript types Have tree shaking NPM Package size Package size Ask us in Telegram


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

  1. Fork it (https://github.com/yourname/yourproject/fork)
  2. Create your feature branch (git checkout -b features/fooBar)
  3. Commit your changes (git commit -am 'feat(image): Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

📮 Any questions? Always welcome :)