tahoe-lafs-client
Javascript client for the Tahoe-LAFS Web API written in Typescript
Last updated a month 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 written in Typescript.

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

Javascript

// 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'
 * }
 */

Typescript

// Import the module
import TahoeLAFSClient from '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.5.0                                ...           latest (a month ago)

4 Versions

  • 1.5.0                                ...           a month ago
  • 1.2.0                                ...           7 months ago
  • 1.1.0                                ...           9 months ago
  • 1.0.0                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 16
Dependencies (6)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |