JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28
  • Score
    100M100P100Q75002F
  • License MIT

JS package for Easyly sign by Easyly

Package Exports

  • @easyly/sign-js
  • @easyly/sign-js/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@easyly/sign-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

"Easyly sign" API

Use Easyly sign as an ES module.

build status npm version

Installation

Use npm to install the module:

npm install @easyly/sign-js

Usage

ContractsJS

You can access all available function by importing and initializing ContractsJS class with your Api Key from your account

import ContractsJS from '@easyly/sign-js';

const apiKey = "XXXXXXXXXXXXXXXXXXXX";
const contracts = new ContractsJS(apiKey);

Get contracts example

import ContractsJS from '@easyly/sign-js';

const apiKey = "XXXXXXXXXXXXXXXXXXXX";
const contracts = new ContractsJS(apiKey);

const getContracts = async(e) => {
    let [status, resp] = await contracts.getAll();
    // status = Int: 200
    // resp = Object: [{...}]
}

useEffect((e)=>{
    getContracts()
},[])

Full documentation can be found on Easyly Sign

Minimum requirements

The minimum supported version of React is v16.8. If you use an older version, upgrade React to use this library. If you prefer not to upgrade your React version, we recommend using legacy.

Contributing

If you would like to contribute to React Easyly.js, please make sure to read our contributor guidelines.