@miracl/mfa-client-js

Headless MFA client library

Stats

StarsIssuesVersionUpdatedCreatedSize
@miracl/mfa-client-js
4.2.03 years ago4 years agoMinified + gzip package size for @miracl/mfa-client-js in KB

Readme

Headless MFA Client Library

Master Build Status Master Coverage Status

Installation

$ git clone
$ cd project_folder
$ npm install
$ npm run build

Running Tests

Install development dependencies:

$ npm install

Then:

$ npm test

Available options

var mfaOptions = {
    server: "serverUrl", // required
    customerId: "customerId", // required
    seed: "hexEncodedRandomNumberGeneratorSeed", // required
    deviceName: "Name of Device"
}
var mfa = new Mfa(mfaOptions);

Build in Docker image

docker build -t mfa-client-builder .
docker run -v $PWD:/home/node mfa-client-builder npm run build

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.