Welcome to Jotsu!
The Jotsu libraries are still in beta and changing frequently.
Currently, here's what's supported:
Use Jotsu to add authentication and authorization to your application.
Full role-based access control and permission system. No need for costly and complex auth0, cognito or DIY.
An easy-to-use admin UI is available at my.jotsu.com.
Easily add forms to your site for contact, registration and more. Accessible and completely customizable.
This repository is a mono-repo. Here are the packages:
- jotsu-js: Base Jotsu library. (You'll likely want one of the next two instead)
- dh-jotsu-js: Declarative HTML.
- react-jotsu-js: React components for jotsu-js.
npm install -D @jotsu/jotsu-js
npm install -D @jotsu/react-jotsu-js
Note: react
is a peer dependency
You can install via npm is you wish to host locally or provide a fallback.
npm install -D @jotsu/dh-jotsu-js
Most likely, you'll want to use an existing CDN:
https://unpkg.com/@jotsu/dh-jotsu-js@latest/dist/dh-jotsu.js
https://cdn.jsdelivr.net/npm/@jotsu/dh-jotsu-js@latest/dist/dh-jotsu.js
Note: Make sure you pin the version in production.
Use lerna and npm to build.
npm install
npm run build
lerna publish --no-private