JSPM

  • Created
  • Published
  • Downloads 92
  • Score
    100M100P100Q6008F

Fleek Platform NodeJS SDK

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

  1. Install NodeJS from the official website or using nvm.
  2. Install pnpm dependency manager.
  3. Install dependencies usign pnpm i from rootpath.
  4. Prepare your changes.
  5. pnpm build, and happy testing!

Contributing

  1. Fork it
  2. Create your feature branch: git checkout -b my-new-feature
  3. Run the tests: pnpm test
  4. Commit your changes: git commit -am 'Add some feature'
  5. Push to the branch: git push origin my-new-feature
  6. Create new Pull Request following the corresponding template guidelines