# jsonpoker

> Awesome JSON investigation with Coffeescript

Latest version **0.0.1** (published 2014-08-11) · BSD license · 0 weekly downloads

## Install

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

Provides the command `poker`.

## 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.1 |
| Published | 2014-08-11 |
| First published | 2014-08-11 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | david@banham.id.au |
| Maintainers | davidbanham |
| Keywords | json |

## Links

- npm: https://www.npmjs.com/package/jsonpoker
- Repository: https://github.com/davidbanham/poker
- Issues: https://github.com/davidbanham/poker/issues
- npm.io page: https://npm.io/package/jsonpoker

## Dependencies (2)

- [nesh](https://npm.io/package/nesh.md) ~1.5.0
- [coffee-script](https://npm.io/package/coffee-script.md) ~1.7.1

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.1 (latest) — 2014-08-11
- 0.0.0 — 2014-08-11

## README

Installation:
=============

`npm install -g jsonpoker`

Usage:
======

things.json:

```json
{
  "people": [
    "Sam",
    "Dave",
    "Steve"
  ]
}
```

`poker things.json`

```
Welcome to poker. Your data is assigned to the variable j
coffee>```

You are now in a coffeescript REPL. Type something like:

```coffeescript
j.people.length
```

And you will get the answer:

`3`

You could also type something like:

```coffeescript
lowered = person.toLowerCase() for person in j.people
fs.writeFileSync 'lowercased.json', JSON.stringify lowered
```

Get the idea? It's a full coffeescript environment, so you can do arbitrarily more complex things.

poker is based on [nesh](https://danielgtaylor.github.io/nesh/), so it has history support and all kinds of other great things.

Have fun!

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