Javascript SDK for interacting with Textile nodes
  • JavaScript 100%
Find a file
Robby N Shaw 57ac2804d4 Added full milling functionality.
Updated dropzone example to use the api
2019-02-27 01:45:51 -06:00
core Added full milling functionality. 2019-02-27 01:45:51 -06:00
docs/textile-js-sdk/0.1.0 Added full milling functionality. 2019-02-27 01:45:51 -06:00
e2e Moved from textile-explore flickr branch 2019-02-20 19:00:53 -06:00
examples Added full milling functionality. 2019-02-27 01:45:51 -06:00
helpers Added full milling functionality. 2019-02-27 01:45:51 -06:00
modules Added full milling functionality. 2019-02-27 01:45:51 -06:00
test Added full milling functionality. 2019-02-27 01:45:51 -06:00
.eslintignore Moved from textile-explore flickr branch 2019-02-20 19:00:53 -06:00
.eslintrc.json Moved from textile-explore flickr branch 2019-02-20 19:00:53 -06:00
.gitignore Moved from textile-explore flickr branch 2019-02-20 19:00:53 -06:00
.tern-config Moved from textile-explore flickr branch 2019-02-20 19:00:53 -06:00
index.js Added full milling functionality. 2019-02-27 01:45:51 -06:00
LICENSE Moved from textile-explore flickr branch 2019-02-20 19:00:53 -06:00
package-lock.json Added full milling functionality. 2019-02-27 01:45:51 -06:00
package.json Added full milling functionality. 2019-02-27 01:45:51 -06:00
README.md Added unstable warning to README 2019-02-22 05:48:02 -06:00

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