tahoe-lafs-client
Javascript client for the Tahoe-LAFS Web API
Last updated 4 months ago by huffmantree .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install tahoe-lafs-client 
SYNC missed versions from official npm registry.

tahoe-lafs-client

A javascript client for the Tahoe-LAFS Web API.

Note: The client has been tested with Tahoe-LAFS v1.12.1

Getting Started

Requirements

Installation

npm install tahoe-lafs-client --save

Tests

Please use npm test to ensure the client is working as well as your Tahoe node.

Usage

// Import the module
const TahoeLAFSClient = require("tahoe-lafs-client");

// Create a new client
const params = {
    hostname: "localhost",
    port: 3456
};

const client = new TahoeLAFSClient(params);

console.log(client);
/*
	TahoeLAFSClient {
	  hostname: 'localhost',
	  port: 3456,
	  url: 'http://localhost:3456/uri'
	}
*/

Documentation

The documentation is available in the doc folder.

Current Tags

  • 1.2.0                                ...           latest (4 months ago)

3 Versions

  • 1.2.0                                ...           4 months ago
  • 1.1.0                                ...           5 months ago
  • 1.0.0                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 17
Last Day 0
Last Week 17
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |