# interactic

> executes a sequence of interactive processes

Latest version **1.0.0** (published 2021-04-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install interactic
pnpm add interactic
yarn add interactic
bun add interactic
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-04-30 |
| First published | 2021-04-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 5 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | YizYah |
| Maintainers | yisroel |
| Keywords | ts-packrat, geenee |

## Links

- npm: https://www.npmjs.com/package/interactic
- Repository: https://github.com/YizYah/interactic
- Issues: https://github.com/YizYah/interactic/issues
- npm.io page: https://npm.io/package/interactic

## Dependencies (5)

- [path](https://npm.io/package/path.md) ^0.12.7
- [execa](https://npm.io/package/execa.md) ^5.0.0
- [tslib](https://npm.io/package/tslib.md) ^2.0.3
- [@types/node](https://npm.io/package/@types/node.md) ^14.14.19
- [magicalstrings](https://npm.io/package/magicalstrings.md) ^0.0.14

## Recent versions

- 1.0.0 (latest) — 2021-04-30

## README

[//]: # ( ns__file unit: standard, comp: README.md )

[//]: # ( ns__custom_start beginning )

[//]: # ( ns__custom_end beginning )

[//]: # ( ns__start_section intro )

[//]: # ( ns__custom_start description )
interactic
======
executes a sequence of interactive processes

[//]: # ( ns__custom_end description )

[//]: # ( ns__custom_start afterDescription )

[//]: # ( ns__custom_end afterDescription )

[//]: # ( ns__custom_start badges )

[//]: # ( ns__start_section usageSection )

[![codecov](https://codecov.io/gh/YizYah/interactic/branch/main/graph/badge.svg?token=019QO4XK1Z)](https://codecov.io/gh/YizYah/interactic) 
[![Version](https://img.shields.io/npm/v/interactic.svg)](https://npmjs.org/package/interactic)
[![Downloads/week](https://img.shields.io/npm/dw/interactic.svg)](https://npmjs.org/package/interactic)
[![License](https://img.shields.io/npm/l/interactic.svg)](https://github.com/YizYah/interactic/blob/master/package.json)

[![Geenee](https://img.shields.io/badge/maintained%20by-geenee-brightgreen)](https://npmjs.org/package/geenee)
[![Template](https://img.shields.io/badge/template-ts--packrat-blue)](https://npmjs.org/package/ts-packrat)

[//]: # ( ns__custom_end badges )

[//]: # ( ns__end_section intro )


[//]: # ( ns__start_section api )


[//]: # ( ns__custom_start APIIntro )
Uses execa to call a sequence of commands.

Include with `npm i interactic magicalstrings@0.1.14`
Then you can call it like this:
```
const interactic = requre 'interactic'
import { CommandSpec } from 'magicalstrings';

const tempCommandSpecs: CommandSpec[] = [
  {
    title: 'create react app'
    file: 'create-react-app
  },
];

const codeDir = '/tmp/interactiveSequenceTest';

async () => {
  await interactic(tempCommandSpecs, codeDir)
})
```

# API
```
async function interactic(commandSpecs: CommandSpec[], 
codeDir: string)
```
Check out the CommandSpec type in magicalstrings for more info about that.  The `codeDir` string is directory where you want the command to be executed. 

[//]: # ( ns__custom_end APIIntro )


[//]: # ( ns__custom_start constantsIntro )
## General Constants and Commands

[//]: # ( ns__custom_end constantsIntro )



[//]: # ( ns__start_section types )


[//]: # ( ns__end_section types )


[//]: # ( ns__end_section api )

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