Skip to content

An universal client for the Taakcloud.com API written in Typescript

License

Notifications You must be signed in to change notification settings

taakcloud/taak-sdk-js

Repository files navigation

dev-to-js

taak-sdk-js

A tiny, universal client for the Taakcloud.com API written in Typescript.

taak-sdk gzip size brotli size

✨ Features:

  • Tiny <1KB size gzip
  • Works in Node.js and in Browser
  • Built-in Typescript support

🔧 Installation

npm i taak-sdk

🌐 Usage

Import taak-sdk module in your project and initialize it with your apiKey.

import TaakSDK from 'taak-sdk'

const TaakSdkClient = new TaakSDK({ apiKey: '%apiKey%' })

TaakSdkClient.getWebPushesByUserId('user-id-001').then((data) => {
    console.log(data)
})

Documentation

https://docs.taakcloud.com

Web Push Notification doc

https://docs.taakcloud.com/products/web-push-notification/