@legalesignlab/sdk-js
v0.9.12
Published
Legalesign Node/JS SDK
Readme
Legalesign Typescript / Javascript SDK
The Typescript SDK is provided as an ease-of-use extension to the Legalesign GraphQL library. Both the SDK and the test library are provided with the minimum framework installations, as we want you to be able to be able to use this or a version of the SDK as easily as possible on any platform.
If you need help integrating this SDK with your platform please get in touch with our support team [email protected]
or post your question in the issues log of this repository.
Types
The SDK contains a tested type library of the Legalesign platform (document, template, etc.) for you to use in your integrations. Sometimes these can be helpful even if you don't use the SDK api call framework.
import { Document } from "@legalesignlab/sdk-js";or alias it in case you are using other packages that contain Document exports with
import { Document as LegalesignDocument } from "@legalesignlab/sdk-js";Installation
In the root of your project use the following to install the SDK;
npm install @legalesignlab/sdk-jsthen use the following in the header of your code
import Legalesign from '@legalesignlab/sdk-js'Testing / Examples
If you need help using the SDK, you can find examples for most calls in the test library @legalesign/sdk-js-test. This
is also a useful way to test some of the basic setup of your account.
