New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cli-agent

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-agent

[![Code Climate](https://codeclimate.com/github/mokevnin/cli-agent/badges/gpa.svg)](https://codeclimate.com/github/mokevnin/cli-agent) [![Issue Count](https://codeclimate.com/github/mokevnin/cli-agent/badges/issue_count.svg)](https://codeclimate.com/githu

latest
Source
npmnpm
Version
0.4.0
Version published
Maintainers
1
Created
Source

cli-agent

Code Climate Issue Count Build Status

Setup

npm install cli-agent --save-dev

Using

// @see tests
const interaction = new CLIAgent(/* path to program */);
let year;
const result = await interaction.wait(/hello/i)
  .wait(/question/i)
  .send('2014\n')
  .wait(/year is (\d+)/, (matches) => {
    year = matches[1];
  })
  .start();

FAQs

Package last updated on 05 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts