Package Exports
- @fleekxyz/sdk
- @fleekxyz/sdk/dist/index.browser.js
- @fleekxyz/sdk/dist/index.node.js
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 (@fleekxyz/sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Fleek SDK
Fleek SDK provides a unified javascript class to access Fleek Services.
Installation
This package requires minimum Node.js 16.
npm install @fleekxyz/sdk
Basic usage
import Fleek from '@fleekxyz/sdk';
const sdk = new Fleek({ personalAccessToken: 'personalAccessToken' });
IPNS SDK Usage
cosnt publishedName = await sdk.ipns.publishName();