# turboslug

> A fast offline first magic the gathering deck builder

Latest version **1.0.0** (published 2022-06-13) · MIT license · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2022-06-13 |
| First published | 2022-06-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 1.6 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Adam Bibby |
| Maintainers | zwzn |

## Links

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

## Dependencies (8)

- [nord](https://npm.io/package/nord.md) ^0.2.1
- [decko](https://npm.io/package/decko.md) ^1.2.0
- [preact](https://npm.io/package/preact.md) ^10.7.2
- [firebase](https://npm.io/package/firebase.md) ^9.6.11
- [classnames](https://npm.io/package/classnames.md) ^2.3.1
- [idb-keyval](https://npm.io/package/idb-keyval.md) ^3.2.0
- [@zwzn/spicy](https://npm.io/package/@zwzn/spicy.md) ^1.0.1
- [preact-router](https://npm.io/package/preact-router.md) ^4.0.1

## Recent versions

- 1.0.0 (latest) — 2022-06-13

## README

# Turbo Slug

Turbo Slug is a free and open source deck builder for Magic: The Gathering.

![Deck Editor](.github/readme-images/deck-edit.png)

## Autocomplete

Turbo Slug has super fast autocomplete when entering cards. It allows you to
search for card names, oracle text and more!

![Autocomplete](.github/readme-images/autocomplete.png)

### Syntax
Each row in the deck editor represents one card in your deck. The row can start
with a number and an optional x for the quantity of that card, or nothing if
there is only one, then the name of the card, and finally a list of tags each
starting with a hash. e.g. `1 Ponder #cantrip` or `3x Stomping Ground` or
`Force of Will`

### Searching

When typing in the deck editor you can use a simple search syntax based on
Scryfall's to find cards. Just typing on the box will search by card name and
you can apply more complex filters by entering a keyword followed by a colon and
what you want to search. For example you could search for legendary cards with
`type:legend`. If you want to search by more than 1 word you can use quotes to
wrap them, e.g. `o:"draw a card"`.

| keyword | shortcut | filter                       |
| ------- | -------- | ---------------------------- |
| oracle  | o        | oracle text                  |
| type    | t        | whole type line              |
| set     | s        | set                          |
| color   | c        | color identity               |
| legal   | l        | formats the card is legal in |

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