How to use telnet-client - 1 common examples

To help you get started, we’ve selected a few telnet-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jonnyboyC / kos-language-server / clients / vscode / src / commands / runProvider.ts View on Github external
import { IKosCommand } from './types';
// tslint:disable-next-line:import-name
import Telnet from 'telnet-client';

const client = new Telnet();

client.on('connect', () => {
  console.log('connect');
});

client.on('ready', (data) => {
  console.log('ready', data.toString());
});

client.on('writedone', () => {
  console.log('writedone');
});

client.on('writedone', () => {
  console.log('writedone');
});

telnet-client

A simple node.js telnet client

MIT
Latest version published 2 months ago

Package Health Score

80 / 100
Full package analysis

Popular telnet-client functions