Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1.16 KB

readme.md

File metadata and controls

29 lines (25 loc) · 1.16 KB

install

npm i ascii-artist

minified minified + gzip dependency count tree-shaking support install size

demo

ascii artist web ascii artist cli

API

import {encode, decode} from 'ascii-artist'
const binary = to_threshold(rgba, width, height);
const data = encode(binary, width, height)
const str = data.join('\n')
const binary = decode(data, width, height)