SDK for using IronCore from your browser-based JavaScript application. Read our documentation for further information about how to integrate this library into your client side application.
npm install @ironcorelabs/ironweb
Three quick-starts are available on the documentation site. These quick-starts will guide you through getting started with the IronWeb SDK in either a vanilla JS, React , or Angular codebase.
This library contains a TypeScript definitions file which shows the available classes and methods for this SDK.
This repo uses NPM scripts in order to run all tests and linting. You can run both the unit tests and linting together by running yarn test
.
TSLint and ESLint are used to run linting on all source code. In addition this repo has a Prettier configuration to auto-format source code upon save. Prettier should be configured within your IDE before contributing to this project.
yarn run lint
This repo uses Karma and Jasmine for all unit testing. The unit tests are run using a headless version of Chrome to verify that all tests work in a browser-based environment.
yarn run unit
To run a subset of the tests you can use the -t
option of Jest to only run tests whose name matches the provided value
yarn run unit --filter GroupCrypto
This library also has minimums for unit test code coverage in order to pass. These coverage minimums are configured within the karma.conf.js
file and determine what the minimum % of code coverage is for various metrics before the unit tests will pass.
Copyright (c) 2017-present IronCore Labs, Inc. All rights reserved.