0.0.9 • Published 3 years ago

pinokiojs v0.0.9

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

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago