1.2.7 • Published 2 years ago

@armal/nodecore-nano v1.2.7

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

NodeCore-Nano

A client library used to interface with NanoCore 1.2.2.0 servers | NOTE: This library is in early development, many features are still missing | | --- |

Installation

Use npm to install the library

npm install --save @armal/nodecore-nano

Build from source

Use git to pull the package and build using tsc

git clone https://github.com/Armal-Malware-Research/nodecore-nano
cd nodecore-nano 
npm install
npx tsc

Install from source

Use npm install with the path to your cloned directory

npm install <path-to-nodecore-nano>

Usage

const { NodeCoreClient } = require('@armal/nodecore-nano');

const client = new NodeCoreClient({
    hostname: '127.0.0.1',
    port: 1604
});

// Add event handlers here

// Example event: Reconnect on socket error
client.on('shutdown', e => {
    if (e.error) {
        e.cancel(); 
    }
});

client.connect();

License

MIT

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.0

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago