@hubs101/js-api-skd-client
TypeScript icon, indicating that this package has built-in type declarations

1.0.10497 • Public • Published

Node version npm version

npm npm total downloads npm bundle size

License License: MIT Snyk Vulnerabilities Minified size React code style: prettier

GitHub dependency status Code Climate maintainability Build Status GitHub last commit

Install Size

Check out the package's install size on Packagephobia.

API Doc

API Documentation

Using BaseAPI, stateless

Used before initWithToken BaseAPI.login(basePath, username, password)

Accessing API via stateless interface: BaseAPI.fetchAttendees(basePath, token, eventID)

Using EventAPIProvider

  1. Wrap app with Provider: import { EventAPIProvider } from '@hubs101/js-api-skd-client';
  2. Access api via hook: const { fetchAttendees } = useAPIContext(); **First init or initWithToken needs to be called in order to have authentication setup.

Creating new release

  1. Commit al changes to git
  2. Prepare build: npm run build
  3. Create new patch version run: npm version patch
  4. Publish package to NPM: npm publish

All in one publish alternative run: npm run new-version

Package Sidebar

Install

npm i @hubs101/js-api-skd-client

Weekly Downloads

30

Version

1.0.10497

License

ISC

Unpacked Size

367 kB

Total Files

60

Last publish

Collaborators

  • danchily
  • shiiheb
  • hubs101