Socket
Socket
Sign inDemoInstall

ascii-art-webpack-plugin

Package Overview
Dependencies
1
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ascii-art-webpack-plugin

Append custom text header to output files from Webpack


Version published
Weekly downloads
1
decreased by-94.12%
Maintainers
1
Install size
5.75 MB
Created
Weekly downloads
 

Readme

Source

ASCII Art Webpack Plugin

Description

The ASCII Art Webpack Plugin

Installation

npm install --save-dev ascii-art-webpack-plugin

or shorthand

npm i -D ascii-art-webpack-plugin

Usage

const { AsciiArtWebpackPlugin } = require('ascii-art-webpack-plugin');

const webpackConfig = {
  // ... config settings here ...
  plugins: [
    new AsciiArtWebpackPlugin({
      text: 'Company Name',
      font: 'Big Money-se',
    }),
  ],
};

Options

  • text - Required. The text that will be converted into ASCII art
  • font - Defaults to 'Standard'. See below for recommended fonts. Supports all Figlet fonts
  • horizontalLayout - Defaults to 'default'. Available values: ['default', 'fitted', 'full']. Figlet layout setting. Affects horizontal kerning values
  • verticalLayout - Defaults to 'default'. Available values: ['default', 'fitted', 'full']. Figlet layout setting. Affects vertical kerning values
  • borderAroundText - Defaults to false. Whether the header will have a border around it
  • extensions - Defaults to ['js']. What extensions of output files will get the ASCII art header

Fonts

The ascii-art-webpack-plugin supports all Figlet fonts. The default is 'Standard'. I highly recommend trying out the following:

  • Standard
  • 3D-ASCII
  • Alligator
  • AMC Thin
  • ANSI Shadow
  • Banner3-D
  • Big Money-se
  • Broadway
  • Crawford2
  • Cursive
  • Dancing Font
  • Doh
  • DOS Rebel
  • Electronic
  • Epic
  • Fraktur
  • Larry 3D 2
  • Nancyj-Underlined
  • NV Script
  • Patorjk-HeX
  • Reverse
  • Script
  • Slant Relief
  • Soft
  • Sweet
  • Univers

Keywords

FAQs

Last updated on 29 Dec 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc