0.0.9 • Published 2 years ago

pinokiojs v0.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Pinokio.js

Interact with Pinokio over WebSocket, using JavaScript.

API

  1. shell: access to the pinokio shell
  2. fs: acccess to the pinokio file system
  3. port(): get an available port

1. Shell

const pinokio = new Pinokio()
const shell = pinokio.shell()
await shell.run({
  uri: ...
}, (packet) => {
  // realtime packet
})

2. FS

const fs = pinokio.fs("https://github.com/cocktailpeanut/automatic1111.pinokio.git")
await fs.writeFile(...)

3. port()

const available_port = await pinokio.port()
0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago