This commit is contained in:
Raven Scott
2026-05-20 21:02:45 -04:00
parent 1f3f4b24a2
commit 14d0980b4f
734 changed files with 682 additions and 746 deletions
@@ -0,0 +1,10 @@
require('bare-process/global')
const { HyperP2PGravityWell } = require('../index.js')
async function main () {
const g = new HyperP2PGravityWell()
g.setWell('sink', 9)
g.attract({ hello: 'world' })
console.log('drained', g.drain().length)
await g.close()
}
main().catch(console.error)