Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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');
});