0.0.9 • Published 10 months ago

pinokiojs v0.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months 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

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago