Skip to content

ahaoboy/ascii-artist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)