@pork/trees
v1.0.6
Published
OADA Tree definitions for 2021 Pork Hack series
Downloads
4
Readme
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 */ },
});
})()