Skip to content

u3u/console.img

Repository files navigation

console.img

✨ Output image in browser console.

npm version npm downloads codecov docs

Quick start

const script = document.createElement('script')

script.src = 'https://cdn.jsdelivr.net/npm/console.img'
script.onload = () => console.img('https://cdn.jsdelivr.net/gh/u3u/u3u@main/uPic/5ab9c69c922b0.gif')
document.body.append(script)

Install

pnpm add console.img

Usage

import 'console.img'

console.img('https://cdn.jsdelivr.net/gh/u3u/u3u@main/uPic/5ab9c69c922b0.gif')

Options

Please see API docs

License

MIT License © 2023 u3u