Published
Edited
Mar 30, 2021
Insert cell
Insert cell
terminus = require('@terminusdb/terminusdb-client@4.2.1/dist/terminusdb-client.min.js')
Insert cell
rest = {
const Client = new terminus.WOQLClient('https://127.0.0.1:6363/', {})
const connect = async () => {
await Client.connect({ user: 'admin', key: 'root' })
}
await connect()
return 'bla'
}
Insert cell
add = (a, b) => {
return a + b
}
Insert cell
exporter = ({
add
})
Insert cell
add(2,2)
Insert cell
fetch('https://127.0.0.1:6363/').then(d => d.text())
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more