# potatojs

> Potato

Latest version **1.0.0** (published 2020-01-02) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2020-01-02 |
| First published | 2020-01-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 51.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | K1LLER0M |
| Maintainers | karudotouahri |
| Keywords | potato |

## Links

- npm: https://www.npmjs.com/package/potatojs
- Repository: https://github.com/K1LLER0M/potato
- Homepage: https://github.com/K1LLER0M/potato#readme
- Issues: https://github.com/K1LLER0M/potato/issues
- npm.io page: https://npm.io/package/potatojs

## Recent versions

- 1.0.0 (latest) — 2020-01-02

## README

# potato.js

A potato library inspired by [five.js](https://github.com/jackdclark/five)

## Usage:
### Require the module

```javascript
var potato = require('potato');
```

### In the browser

```javascript
<script type="text/javascript" src="./potato.js"></script>
```

### A potato

```javascript
potato(); // "potato"
```

### Check for potato

```javascript
potato.isPotato("potato"); // true
```

### Potato emoji

```javascript
potato.emoji(); // "🥔"
```

### Fries emoji

```javascript
potato.best(); // "🍟"
```

### A potato with a delay

```javascript
potato.slowCook(500); // "potato" after 500 ms
```

### A picture of a potato

```javascript
potato.picture(); // you can guess it
```

### Async code

```javascript
potato.async().then(potato => {
  // potato === "potato"
})
```

### Different radices

```javascript
potato.binary(); // 0b011100000110111101110100011000010111010001101111
potato.hex(); // 0x706f7461746f
```

### Potato md5 hash

```javascript
potato.md5(); // "8ee2027983915ec78acc45027d874316"
```

## Lisence
MIT

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