trepo

0.10.0 • Public • Published

trepo-js

npm Build Status Dependencies

Docs

The swagger docs are hosted here

Install

Node

npm install trepo

Example

Webworker

Use trepo-webworker.

Node

import Trepo from 'trepo';
 
let trepo = new Trepo('localhost');
 
trepo.start()
  .then(ignored => trepo.request({
    method: 'GET',
    path: '/graph/info'
  }))
  .then(response => {
    console.log(response);
  })
  .catch(error => {
    console.error(error);
  });

/trepo/

    Package Sidebar

    Install

    npm i trepo

    Weekly Downloads

    6

    Version

    0.10.0

    License

    MIT

    Last publish

    Collaborators

    • jonnymbgood
    • justincy