# @jikasd/classvm

> CollabVM client that uses classes.

Latest version **1.0.3** (published 2019-11-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install @jikasd/classvm
pnpm add @jikasd/classvm
yarn add @jikasd/classvm
bun add @jikasd/classvm
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2019-11-25 |
| First published | 2019-11-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | kashima-dot-com |
| Maintainers | jikasd |
| Keywords | guacamole, ws, websocket, collabvm, class, classes |

## Links

- npm: https://www.npmjs.com/package/@jikasd/classvm
- Repository: https://github.com/kashima-dot-com/classvm
- Homepage: https://github.com/kashima-dot-com/classvm#readme
- Issues: https://github.com/kashima-dot-com/classvm/issues
- npm.io page: https://npm.io/package/@jikasd/classvm

## Dependencies (1)

- [websocket](https://npm.io/package/websocket.md) ^1.0.30

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2019-11-25
- 1.0.2 — 2019-11-25
- 1.0.0 — 2019-11-25

## README

# @jikasd/classvm
### A library for CollabVM bots.
![npm](https://img.shields.io/npm/v/@jikasd/classvm)
![hits](http://hits.dwyl.io/kashima-dot-com/classvm.svg)
# Install
`npm i @jikasd/classvm`
# Example
#### Initialize client
```js
const { ClassVM } = require('@jikasd/classvm')

const client = new ClassVM({
  prefix: '!',
  commandDirectory: './commands',
  username: 'bot',
  ip: '127.0.0.1',
  port: 1337
})

client.login().then(() => console.log('Ready!'))
```
#### Create Command
```js
const { Command } = require('@jikasd/classvm')

module.exports = class extends Comamnd {
  constructor () {
  }

  exec (message) {
    message.send(`Hello ${message.sender}.`)
  }
}
```

---
_Source: https://npm.io/package/@jikasd/classvm · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
