laa-crime-forms-common
v1.0.6
Published
A node module to store JS functions used across the NSCC front end suite
Readme
LAA Crime Forms Common
This is a gem and npm package that is used to share functionality and data across the 'Submit a crime form' and 'Assess a crime form' services.
It is currently used for:
- Shared L10n of strings
- JSON schema definition and validation
- Pricing and fees
It may one day be used for:
- Shared logic relating to the LAA crime application store including:
- Generating tokens to authenticate outgoing requests
- Verifying tokens on incoming requests
- Webhook subscription/unsubscription
- Shared UI components
- Shared search functionality
- And more
## NPM Package For instances where we only want to share a JS function, this code is stored in the node package of this directory. All files for this node package are in the js folder to prevent mixing with the gem.
Licence
Unless stated otherwise, the codebase is released under the MIT License.
