Skip to content

robbynshaw/textile-js-sdk

Repository files navigation

textile-js-sdk

Javascript SDK for interacting with Textile nodes. API is very unstable at the moment. Anything is subject to change.

Detailed API Documentation

Installation

From npm

npm install textile-js-sdk

From Source

# Clone the repo
git clone github.com/robbynshaw/textile-js-sdk
cd textile-js-sdk
npm install

Getting started

const { Textile } = require("textile-js-sdk");

const textile = new Textile();
const peerid = await textile.peer.get();
console.log("PeerID", peerid);

Development

# Run all the tests
npm test

# Linting
npm run lint

# Build the docs
npm run build-docs

# See package.json for other scripts

Roadmap

  • Add to npm
  • Add docs to github pages

About

Javascript SDK for interacting with Textile nodes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published