项目作者: u3u

项目描述 :
🎉 Display a picture in the Chrome browser console
高级语言: JavaScript
项目地址: git://github.com/u3u/console.img.git
创建时间: 2017-05-03T15:08:30Z
项目社区:https://github.com/u3u/console.img

开源协议:MIT License

下载


console.img

✨ Output image in browser console.

npm version npm downloads codecov docs

@main/uPic/console.img.gif" width="512">

Quick start

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

Install

  1. pnpm add console.img

Usage

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

Options

Please see API docs

License

MIT License © 2023 u3u