# node-sheep

> shell util that bind nodejs and shell togather

Latest version **0.0.4** (published 2014-09-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install node-sheep
pnpm add node-sheep
yarn add node-sheep
bun add node-sheep
```

Provides the command `sheep`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2014-09-01 |
| First published | 2014-09-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | NStal |
| Maintainers | nstal |

## Links

- npm: https://www.npmjs.com/package/node-sheep
- npm.io page: https://npm.io/package/node-sheep

## Dependencies (1)

- [commander](https://npm.io/package/commander.md) ^2.3.0

## Recent versions

- 0.0.4 (latest) — 2014-09-01

## README

# a handy script to help write nodejs in shell


# install

```bash
npm install -g node-sheep
```

# usage

```bash
echo 1 2 3 4 5 | sheep "
     numbers = input.split(/\s/).filter(function(item){
         return item;
     }).map(function(item){
         return parseInt(item)+2;
     });
     put(numbers.join(':'))
"
   
# 3:4:5:6:7  
```

All stdin has been buffered into var ```input```. var ```put``` is the alias to console.log.

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