# 1-liners-cli

> CLI for copying code from "1-liners" project.

Latest version **1.0.3** (published 2019-02-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install 1-liners-cli
pnpm add 1-liners-cli
yarn add 1-liners-cli
bun add 1-liners-cli
```

Provides the command `1-liners`.

## 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.3 |
| Published | 2019-02-09 |
| First published | 2018-08-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 5.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Lochlan Bunn |
| Maintainers | loklaan |
| Keywords | oneliners, shorthands, cli |

## Links

- npm: https://www.npmjs.com/package/1-liners-cli
- Repository: https://github.com/loklaan/1-liners-cli
- Homepage: https://github.com/loklaan/1-liners-cli#readme
- Issues: https://github.com/loklaan/1-liners-cli/issues
- npm.io page: https://npm.io/package/1-liners-cli

## Dependencies (8)

- [meow](https://npm.io/package/meow.md) ^5.0.0
- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [fuzzy](https://npm.io/package/fuzzy.md) ^0.1.3
- [1-liners](https://npm.io/package/1-liners.md) ^0.4.0
- [inquirer](https://npm.io/package/inquirer.md) ^6.2.2
- [clipboardy](https://npm.io/package/clipboardy.md) ^1.2.3
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.2.2
- [inquirer-autocomplete-prompt](https://npm.io/package/inquirer-autocomplete-prompt.md) ^1.0.1

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2019-02-09
- 1.0.2 — 2019-02-09
- 1.0.1 — 2018-08-19
- 1.0.0 — 2018-08-19

## README

# 1-liners cli

<p align="center">
  <img alt="Screenshot of the CLI starting" src="https://gist.githubusercontent.com/loklaan/41f5408d99832b9afc011abdb5c0b509/raw/c651c391fb44d6efcf6b487b2fb22c26ca829d17/1-liners-cli.png" width="700px" />
</p>

<p align="center">
  Copy common util functions to clipboard, courtesy of <a href="https://github.com/1-liners/1-liners"><strong><code>1-liners</code></strong></a>
</p>

## Quick Start

```bash
$ npx 1-liners-cli
```

## Keep It Around

```bash
$ npm install -g 1-liners-cli      # Install globally
$ 1-liners                         # Show a list of 1-liners
$ 1-liners isFunction              # Copy a function immediately
$ 1-liners isFunction --print      # Print to stdout instead of copy to clipboard
```

## Legal

### license

The MIT License (MIT)  
Copyright © Lochlan Bunn

### attribution

"1-liners" source licensed MIT from [1-liners/1-liners](https://github.com/1-liners/1-liners) via [stoeffel](https://github.com/stoeffel).

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