# canvas_ascii-art

> This is a module that makes you can transform a picture into a caracters array.

Latest version **0.1.14** (published 2020-11-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install canvas_ascii-art
pnpm add canvas_ascii-art
yarn add canvas_ascii-art
bun add canvas_ascii-art
```

## 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.1.14 |
| Published | 2020-11-24 |
| First published | 2020-11-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 85.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | lbk38 |
| Maintainers | lbk38 |

## Links

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

## Dependencies (2)

- [canvas](https://npm.io/package/canvas.md) ^2.6.1
- [packageasy](https://npm.io/package/packageasy.md) ^0.1.2

## Recent versions

- 0.1.14 (latest) — 2020-11-24
- 0.1.12 — 2020-11-24
- 0.1.11 — 2020-11-24
- 0.1.10 — 2020-11-24
- 0.1.9 — 2020-11-24
- 0.1.8 — 2020-11-24
- 0.1.7 — 2020-11-24
- 0.1.6 — 2020-11-24
- 0.1.5 — 2020-11-24
- 0.1.4 — 2020-11-24
- 0.1.3 — 2020-11-24
- 0.1.2 — 2020-11-24
- 0.1.1 — 2020-11-24
- 0.1.0 — 2020-11-24

## README

install with 
```bash
npm i canvas_ascii-art --save --global
```

and then run 
```javascript
(async () => {



const SuperCanvas = require('canvas_ascii-art'),
superCanvas = new SuperCanvas(),
url = './node_modules/canvas_ascii-art/image.png' //'YOUR LOCAL IMAGE URL'

await superCanvas.setImage(url);

/*You can let module auto reshape or do this manually :
auto : superCanvas.autoAscii();
manually : superCanvas.zoom(zoom size);
	superCanvas.toLowerQuality(quality size);
	let ascii = superCanvas.toAscii();
*/

//here we will do that manually :

superCanvas.zoom(2);
superCanvas.toLowerQuality(10);

let ascii = superCanvas.toAscii();
console.log(ascii);



})()
```

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