Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mohebifar/pasoor

:spades: A simple API for game cards.
https://github.com/mohebifar/pasoor

Last synced: 16 days ago
JSON representation

:spades: A simple API for game cards.

Awesome Lists containing this project

README

        

# Pasoor

**Pasoor** provides a simple API for game cards. The code is based on [node-cards](https://github.com/kbjr/node-cards).

## Installation

```
npm install pasoor
```

## Usage

You can create an empty deck:

```js
import { Deck } from 'pasoor';
const deck = new Deck();
```

Or with a preset:

```js
import { Deck, presets } from 'pasoor';
const deck = Deck.create(presets.shelem);
```