Skip to content

Modern cross platform local sockets in NodeJS

License

Notifications You must be signed in to change notification settings

lilithmod/unborn-ipc

Repository files navigation

Unborn IPC

A very simple typescript wrapper to create a unix/windows socket and write data.

const SOCKETFILE = '/tmp/lilith.sock'

ipcListen(SOCKETFILE, client => {
    client.on('packet', packet => {
        console.log(packet.toString())
        client.write(Buffer.from('hi', 'utf-8'))
    })
})

About

Modern cross platform local sockets in NodeJS

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published