@pork/trees

1.0.6 • Public • Published

trees

OADA API tree definitions for PorkHack

import { asn as asntree } from '@pork/trees'
import { connect } from '@oada/client'

(async () => {
  const oada = await connect({domain,token});
  await oada.post({ // same w/ put
    path: `/bookmarks/trellisfw/asns/day-index/2021-03-24`, 
    tree: asntree,
    data: { /* an ASN */ },
  });
})()

Readme

Keywords

Package Sidebar

Install

npm i @pork/trees

Weekly Downloads

0

Version

1.0.6

License

Apache-2.0

Unpacked Size

2.73 kB

Total Files

7

Last publish

Collaborators

  • awlayton
  • abalmos
  • tarakawa
  • aultac