# scriptrunnernode

> Run some Commands in a shell from node.js

Latest version **1.0.2** (published 2017-10-27) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2017-10-27 |
| First published | 2017-10-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | blipn |
| Maintainers | blipn |
| Keywords | bash, node, shell, Commands |

## Links

- npm: https://www.npmjs.com/package/scriptrunnernode
- Repository: https://github.com/blipn/ScriptRunnerNode
- Homepage: https://github.com/blipn/ScriptRunnerNode#readme
- Issues: https://github.com/blipn/ScriptRunnerNode/issues
- npm.io page: https://npm.io/package/scriptrunnernode

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2017-10-27
- 1.0.1 — 2017-10-27
- 1.0.0 — 2017-10-27

## README

**ScriptRunnerNode**

Lets you run some bash commands in a shell from node.js

This package runs with no dependency 

Working on node 6

---

**Launch as Standalone :**

`chmod +x ./script.js`

`./script.js` or `sudo ./script.js`

---

**Or import it :**

```javascript
SRN.runCommand('echo yes', (res) => {
  if(res.includes('yes')){
    console.log('it works, I got a yes !');
  }
});
```
**Or** 
```javascript
SRN.runCommands(['echo SRN','ls','ls -al', 'echo it works']);
```

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