trepo

Trepo Server

Usage no npm install needed!

<script type="module">
  import trepo from 'https://cdn.skypack.dev/trepo';
</script>

README

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);
  });