This is a simple code for adding ascii art header to the code(as comments)
const header = require('ascii-header')
const data = {
name: 'ascii-header',
version: '1.0.0',
description:
'This is a simple code for adding ascii art header to the code(as comments)',
funding: 'https://alestor123.is-a.dev/donate',
author: 'Alestor Aldous',
license: 'MIT',
homepage: 'https://github.com/alestor123/ASCII-HEADER#readme',
}
console.log(header(['./test/test.js'], data))
$ npx ascii-header <output file paths>
$ npm install -g ascii-header
$ ascii-header <output file paths>
💖 Donate
👤 Alestor Aldous
- Twitter: @alestor123
- Github: @alestor123
MIT
Copyright © 2022 Alestor Aldous.