kognise-replit-crosis
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

https://replit-crosis--masfrost.repl.co/

Exported

You probably don't need this but it's exported: Channel

Usage

import { Client } from '@replit/crosis';
 
const client = new Client();
 
client.connect({
  tokenOptions: {
    replId,
  },
});
 
const channel = connection.openChannel({
  name: 'evaller',
  service: 'eval',
});
 
channel.on('cmd', (cmd) => {
  console.log(cmd)
})
 
channel.send({ eval: '1+1' });

Dependencies (3)

Dev Dependencies (16)

Package Sidebar

Install

npm i kognise-replit-crosis

Weekly Downloads

0

Version

0.1.5

License

UNLICENSED

Unpacked Size

1.13 MB

Total Files

31

Last publish

Collaborators

  • archmaster