ts-easy-jwt-client
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Easy JWT Client

An easy drop-in library compatible with ts-easy-jwt-auth for handling user actions and authentication with a remote server.

NPM Version Downloads Stats

Easy JWT Client removes the need to maintain and rebuild authentication for each application. By using the generic helper functions available through this package, authentication, user's actions, and token management can be abstracted away to provide a simple standard interface. This package can easily interface with ts-easy-jwt-auth & redux-process if desired.

Installation

npm install ts-easy-jwt-client --save

Usage example

This package utilizes axios for outbound requests. It contains two classes to achieve a simple, re-usable interface.

See docs/ for documentation of each component and advanced usage.

See the example/ folder for javascript and typescript examples.

Development setup

The package is written in typescript and javascript.

npm install
npm test

Release History

See CHANGELOG.md for more information.

Meta

Brian Olencki – brian.olencki.com

Distributed under the MIT license. See LICENSE for more information.

https://github.com/Olencki-Development/ts-easy-jwt-client

Contributing

  1. Fork it (https://github.com/Olencki-Development/ts-easy-jwt-client/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Package Sidebar

Install

npm i ts-easy-jwt-client

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

84.5 kB

Total Files

56

Last publish

Collaborators

  • bolencki13