figlet

Full FIGfont-spec ASCII art text renderer for Node and the browser

Library
npm
v1.11.4
3,008stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
76/100Good
Development Activity84
Maintenance68
Community52
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
76/100Good
Architecture74
Code Quality76
Innovation70
Learning Curve85

figlet is a TypeScript/JavaScript implementation of the classic FIGfont specification, turning plain text into ASCII-art banners using any of dozens of bundled fonts. It runs identically in Node (as a library or CLI) and in the browser, and originally powered the well-known patorjk.com Text ASCII Art Generator.

The library exposes both a simple callback/promise-based figlet.text() API for quick banner generation and lower-level utilities for loading custom .flf fonts, making it the de facto standard for adding ASCII-art banners to CLI tool startup output, terminal splash screens, or build logs.

What You Get

  • A figlet.text() function returning a Promise (or accepting a callback) that renders ASCII art
  • Dozens of bundled FIGfonts selectable by name (Standard, Slant, Banner, etc.)
  • A figlet CLI binary for generating ASCII banners directly from the terminal
  • Support for loading custom .flf FIGfont files at runtime
  • Works unmodified in both Node.js and browser bundles (dist/figlet.mjs)

Common Use Cases

  • Printing a branded ASCII-art banner when a CLI tool starts up
  • Generating splash-screen text art for terminal applications
  • Adding decorative ASCII headers to build/CI logs for readability
  • Powering web-based ASCII-art text generators (as it does on patorjk.com)

Under The Hood

Architecture — The core src/figlet.ts implements the FIGfont layout algorithm (parsing .flf font files, applying horizontal/vertical smushing rules between adjacent glyphs, and assembling final banner lines), with src/node-figlet.ts providing the Node-specific font-loading/CLI wrapper and src/font-list.ts enumerating the bundled font catalog; fonts themselves live as data files under fonts/ and importable-fonts/. Tech Stack — Written in TypeScript, compiled via Vite (vite.config.ts) to dual ESM (dist/figlet.mjs) and CJS (dist/node-figlet.cjs) bundles with generated .d.ts/.d.cts type declarations, tested with Vitest, and built/released via a Grunt task runner plus a GitHub Actions action.yml. Code Quality — The repo has a dedicated test/ suite (figlet.test.ts, node-figlet.test.ts) with an expected/ fixtures directory used to snapshot-verify rendered output against known-good ASCII art for each bundled font, giving strong regression protection for a project where correctness is inherently visual. API Design — The API supports both modern promise-based (await figlet.text(...)) and legacy callback-based calling conventions in the same function signature, and treats the font name as a simple string option, so switching between dozens of bundled fonts requires no additional setup beyond passing a different name.

Used by 9 apps in this directory

TypeScript
76%
AGPL 3.0

Abby

Developer Tools · Product Management

167

Statically typed feature flags, remote config, and A/B testing with framework-native SDKs for TypeScript teams.

View details
30
Repo Health
70
Technical
63
Dependency
Built with
TypeScript76%
MDX18%
Updated 1 years ago
TypeScript
98%
Other

Hexabot

AI Development · Automation

1,186

Build and run agentic workflows across channels with YAML, tools, and RAG

View details
79
Repo Health
76
Technical
70
Dependency
Built with
TypeScript98%
Updated yesterday
Vue
50%
GPL 3.0

IT-Tools

Developer Tools

40,279

A unified collection of 88 web-based developer utilities — from JSON formatting to subnet calculation — all self-hostable, keyboard-searchable, and offline-ready.

View details
60
Repo Health
74
Technical
67
Dependency
Built with
Vue50%
TypeScript48%
Updated 3 days ago
TypeScript
56%
MIT

Jitsu

Data Engineering

5,035

Open-source, fully-scriptable data ingestion engine that streams events from web, apps, and APIs to any data warehouse in real time.

View details
89
Repo Health
79
Technical
68
Dependency
Built with
TypeScript56%
Go41%
Updated today
Svelte
49%

Kener

Monitoring · Devops

5,114

Stunning, self-hosted status pages with real-time uptime monitoring, incident management, and multi-channel notifications in a single Docker container.

View details
85
Repo Health
76
Technical
68
Dependency
Built with
Svelte49%
TypeScript47%
Updated 2 weeks ago
JavaScript
57%
Other

Lokus

Note Taking · Knowledge Management

774

Local-first note-taking with graph view, canvas & AI plugins—your Markdown files, zero telemetry, blazing-fast Rust performance.

View details
78
Repo Health
75
Technical
65
Dependency
Built with
JavaScript57%
HTML24%
Updated 1 weeks ago
TypeScript
96%
Other

nango

Developer Tools · Automation · Authentication

11,501

Build product integrations with AI using 800+ APIs — auth, proxy, and TypeScript functions on production-grade infrastructure.

View details
94
Repo Health
85
Technical
69
Dependency
Built with
TypeScript96%
Updated today
TypeScript
64%
Other

NocoDB

No Code Platforms · Databases · Low Code Platforms

64,586

Turn any SQL database into a collaborative no-code spreadsheet with automatic REST APIs and real-time views.

View details
91
Repo Health
77
Technical
64
Dependency
Built with
TypeScript64%
Vue31%
Updated today
HTML
32%

OpenPanel

Hosting Control Panel · Devops

733

Docker-powered web hosting control panel that gives every user a fully isolated environment with dedicated web server, database, and networking — VPS-grade security on shared hardware.

View details
81
Repo Health
75
Technical
63
Dependency
Built with
HTML32%
Go31%
TypeScript28%
Updated today

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search