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.
Details
Stack
Basic usage
import Fleek from '@fleekxyz/sdk';
const sdk = new Fleek({ personalAccessToken: 'personalAccessToken' });
IPNS SDK Usage
cosnt publishedName = await sdk.ipns.publishName();
Development
- Install NodeJS from the official website or using nvm.
- Install pnpm dependency manager.
- Install dependencies usign
pnpm i
from rootpath. - Prepare your changes.
pnpm build
, and happy testing!
Contributing
- Fork it
- Create your feature branch:
git checkout -b my-new-feature
- Run the tests:
pnpm test
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Create new Pull Request following the corresponding template guidelines