@hanas-app/api-helper
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

API Helper

This is a wrapper library for using the Hanas API. It provides Typescript definitions for endpoints and simplifies accessing information from the API as a whole.

It isn't required to access the API, but helps anyone in a JS environment!

Installing

npm install @hanas-app/api-helper

The API helper also requires fetch to be available globally. If you're targetting modern browsers (approximately browserslist defaults), this shouldn't be an issue, but older browsers and Node may have issues. If you're in those environments, before importing the helper, use something like cross-fetch.

Usage

/@hanas-app/api-helper/

    Package Sidebar

    Install

    npm i @hanas-app/api-helper

    Weekly Downloads

    1

    Version

    1.0.0

    License

    NVPD

    Unpacked Size

    85.3 kB

    Total Files

    10

    Last publish

    Collaborators

    • auctumnus