2.2.1 • Published 3 years ago

@mempool/liquid.js v2.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

LiquidJS API

npm version NPM Known Vulnerabilities License: MIT

NPM package module for Liquid Network APIs.

Documentation: https://liquid.network/api

Installation

ES Modules

Install the npm module.

# npm
$ npm install @mempool/liquid.js --save

# yarn
$ yarn add @mempool/liquid.js

Or if you're not into package management, just download a ZIP file.

Import the module.

import liquidJS from '@mempool/liquid.js';

const liquid = liquidJS();

CommonJS

Include the line below in the head tag of your html file.

<script type="text/javascript" src="https://liquid.network/liquid.js"></script>

Call liquidJS() function to access the API methods.

const liquid = liquidJS();

Features


Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.


License MIT