# spawnise

> Reactive state management written in TypeScript with a minimal API and full power of RxJS

Latest version **1.1.0** (published 2022-10-17) · ISC license · 0 weekly downloads

## Install

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

## 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.1.0 |
| Published | 2022-10-17 |
| First published | 2022-10-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Bartholomé Gili |
| Maintainers | barthofu |
| Keywords | javascript, typescript, spawn, promise, commands |

## Links

- npm: https://www.npmjs.com/package/spawnise
- Repository: https://github.com/barthofu/spawnise
- Homepage: https://github.com/barthofu/spawnise#readme
- Issues: https://github.com/barthofu/spawnise/issues
- npm.io page: https://npm.io/package/spawnise

## Dependencies (2)

- [bl](https://npm.io/package/bl.md) ^5.0.0
- [cross-spawn](https://npm.io/package/cross-spawn.md) ^7.0.3

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2022-10-17
- 1.0.0 — 2022-10-03

## README

# Spawnise

Promisify the native node.js `spawn` function!

## Description

This simple package lets you run commands on your device asynchronously using promises through the `spawn` function.
In fact, it uses the [cross-spawn](https://www.npmjs.com/package/cross-spawn) library under the hood in order to have a more consistent spawn. 

## Getting Started

### Requirements

- [Node.js](https://nodejs.org/en/) `>= 14.x.x`
- [npm](https://npmjs.com/) `>= 8.x.x`

### Installing

```bash
npm install spawnise
```
or
```bash
yarn add spawnise
```

## Usage

```ts
import { spawn } from 'spawnise';

async function run() {

	console.log('starting install dependencies')

	const child = await spawn('npm install')

	console.log('dependencies installed!')
}

run()
```
## Contributing

Pull requests are welcome. 

### Building for production

To run the production build use the npm build script:

```javascript
npm run build
```

Before the build is actually made the tests will be executed, the dist folder will be removed and then the build will be made.

## License
ISC License

Copyright (c) barthofu

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