An open API service indexing awesome lists of open source software.

https://github.com/ironcorelabs/ironweb

IronCore Labs SDK for Browser Based JavaScript Applications
https://github.com/ironcorelabs/ironweb

cryptography proxy-re-encryption transform-encryption wasm webassembly

Last synced: 11 months ago
JSON representation

IronCore Labs SDK for Browser Based JavaScript Applications

Awesome Lists containing this project

README

          

# IronCore Labs JavaScript SDK

![Build Status](https://github.com/IronCoreLabs/ironweb/workflows/IronWeb%20CI/badge.svg)
[![NPM Version](https://badge.fury.io/js/%40ironcorelabs%2Fironweb.svg)](https://www.npmjs.com/package/@ironcorelabs/ironweb)

SDK for using IronCore from your browser-based JavaScript application. Read [our documentation](https://docs.ironcorelabs.com) 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](https://ironcorelabs.com/docs/data-control-platform/javascript/overview/). These quick-starts will guide you through getting started with the IronWeb SDK in either a [vanilla JS](https://ironcorelabs.com/docs/data-control-platform/javascript/vanilla-javascript/), [React](https://ironcorelabs.com/docs/data-control-platform/javascript/react/) , or [Angular](https://ironcorelabs.com/docs/data-control-platform/javascript/angular/) codebase.

## Types

This library contains a [TypeScript definitions](ironweb.d.ts) 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](https://palantir.github.io/tslint/) and [ESLint](https://eslint.org/) are used to run linting on all source code. In addition this repo has a [Prettier](https://prettier.io) 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](https://jestjs.io/) and [nightwatch](https://nightwatchjs.org/) 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.