# @samtgarson/pat

> Postman on the command line

Latest version **0.2.1** (published 2020-03-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @samtgarson/pat
pnpm add @samtgarson/pat
yarn add @samtgarson/pat
bun add @samtgarson/pat
```

Provides the command `pat`.

## 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.2.1 |
| Published | 2020-03-29 |
| First published | 2020-02-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 20 |
| Unpacked size | 39.6 KB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | samtgarson |
| Keywords | pat, postman, cli, http, client |

## Links

- npm: https://www.npmjs.com/package/@samtgarson/pat
- npm.io page: https://npm.io/package/@samtgarson/pat

## Dependencies (20)

- [ink](https://npm.io/package/ink.md) ^2.6.0
- [conf](https://npm.io/package/conf.md) ^6.2.0
- [axios](https://npm.io/package/axios.md) ^0.19.1
- [chalk](https://npm.io/package/chalk.md) ^3.0.0
- [execa](https://npm.io/package/execa.md) ^4.0.0
- [react](https://npm.io/package/react.md) ^16.12.0
- [tslib](https://npm.io/package/tslib.md) ^1.11.1
- [figures](https://npm.io/package/figures.md) ^3.1.0
- [ink-box](https://npm.io/package/ink-box.md) ^1.0.0
- [commander](https://npm.io/package/commander.md) ^5.0.0-1
- [inflection](https://npm.io/package/inflection.md) ^1.12.0
- [mime-types](https://npm.io/package/mime-types.md) ^2.1.26
- [ink-spinner](https://npm.io/package/ink-spinner.md) ^3.0.1
- [quick-score](https://npm.io/package/quick-score.md) 0.0.5
- [unstated-next](https://npm.io/package/unstated-next.md) ^1.1.0
- [ink-text-input](https://npm.io/package/ink-text-input.md) ^3.2.2
- [ink-select-input](https://npm.io/package/ink-select-input.md) ^3.1.2
- [use-force-update](https://npm.io/package/use-force-update.md) ^1.0.7
- [ink-confirm-input](https://npm.io/package/ink-confirm-input.md) ^2.0.0
- [react-error-boundary](https://npm.io/package/react-error-boundary.md) ^1.2.5

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 0.2.1 (latest) — 2020-03-29
- 0.2.0 — 2020-03-28
- 0.1.0-beta — 2020-02-11

## README

<p align="center">
📮

<p align="center"><strong>pat</strong><em>—postman on the command line</em></p>

<p align="center">Pat is an interactive Postman CLI built with <a href="https://github.com/vadimdemedes/ink">ink</a>.</p>

<p align="center"><a href="https://actions-badge.atrox.dev/samtgarson/pat/goto"><img alt="Build Status" src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fsamtgarson%2Fpat%2Fbadge&style=flat" /></a></p>
</p>


## Why?

I was bummed out to find one of the only things I couldn't use after moving to an iPad as my daily development machine was Postman, so I'm trying to build a command line replacement. _Currently Pat only supports collections available on the Postman Pro API. PR's welcome to improve this._

### Progress

- [x] Fetch collections from the API
- [x] Edit the environment
- [x] Make basic requests
- [x] Authentication
- [ ] More authentication
- [ ] Request history
- [ ] Add other collection formats
  - [ ] Postman JSON files
  - [ ] Insomnia

## Install and Use

```bash
npm install --global pat-cli

pat # follow the instructions from here
```

## Contribute

Bug reports and pull requests are welcome on GitHub at https://github.com/samtgarson/pat. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

### Develop

```sh
npm i        # Install dependencies
npm run test # Run tests
npm run dev  # Run the typescript compiler in watch mode

./bin/pat    # Run the CLI locally
```

### License

The module is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

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