Skip to content

IronCoreLabs/ironweb

Repository files navigation

IronCore Labs JavaScript SDK

Build Status NPM Version

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.

Installation

npm install @ironcorelabs/ironweb

Quickstart

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.

Types

This library contains a TypeScript definitions file which shows the available classes and methods for this SDK.

Local Development

Unit Testing and Linting

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.

Linting

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

Unit Testing

This repo uses jest and nightwatch 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 GroupCrypto

Copyright (c) 2022 IronCore Labs, Inc. All rights reserved.