# skua-cli

> A text processing language in the order of awk

Latest version **0.2.0** (published 2015-09-01) · 0 weekly downloads

## Install

```sh
npm install skua-cli
pnpm add skua-cli
yarn add skua-cli
bun add skua-cli
```

Provides the command `skua`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2015-09-01 |
| First published | 2015-08-15 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Matt Neary |
| Maintainers | mattneary |

## Links

- npm: https://www.npmjs.com/package/skua-cli
- npm.io page: https://npm.io/package/skua-cli

## Dependencies (3)

- [rx](https://npm.io/package/rx.md) 2.5.3
- [ramda](https://npm.io/package/ramda.md) 0.17.1
- [rx-node](https://npm.io/package/rx-node.md) 1.0.1

## Recent versions

- 0.2.0 (latest) — 2015-09-01
- 0.1.1 — 2015-08-15
- 0.1.0 — 2015-08-15

## README

# skua
![skua](https://upload.wikimedia.org/wikipedia/commons/0/0d/Stercorarius_pomarinusPCCA20070623-3985B.jpg)

> A text processing language in the order of awk

```sh
$ npm install -g skua-cli
```

# usage

The following is an implementation of McIlroy's [famed
one-liner](http://www.leancrew.com/all-this/2011/12/more-shell-less-egg/) in
skua.

```sh
$ cat README.md | skua "(flatMap (split /[^A-Za-z]/))
                        (filter (compose not (test /^$/)))
                        (map toLower)
                        (toArray)
                        (map (countBy identity))
                        (map (fanout (zipWith (sandwich \" \")) values keys))
                        (flatMap (sort naturalSort))
                        (take 4)"

6 skua
4 sh
3 cat
3 flatmap
```

```sh
$ cat README.md | skua "(filter (test /usage/))"
# usage
```

```sh
$ cat package.json | skua "(squash)
                           (flatMap (pipe parse (prop \"dependencies\") keys))"
ramda
rx
rx-node
```

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