figlet

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

Library
npm
v1.11.4
3,022stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
77/100Good
Development Activity88
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

166

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,213

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

View details
77
Repo Health
76
Technical
65
Dependency
Built with
TypeScript98%
Updated 2 weeks ago
Vue
50%
GPL 3.0

IT-Tools

Developer Tools

40,498

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
63
Dependency
Built with
Vue50%
TypeScript48%
Updated 4 days ago
TypeScript
57%
MIT

Jitsu

Data Engineering

5,063

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

View details
88
Repo Health
79
Technical
66
Dependency
Built with
TypeScript57%
Go41%
Updated 3 days ago
TypeScript
50%

Kener

Monitoring · Devops

5,148

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

View details
88
Repo Health
76
Technical
67
Dependency
Built with
TypeScript50%
Svelte47%
Updated yesterday
JavaScript
55%
Other

Lokus

Note Taking · Knowledge Management

788

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

View details
77
Repo Health
75
Technical
65
Dependency
Built with
JavaScript55%
HTML21%
Rust12%
Updated 1 weeks ago
TypeScript
97%
Other

nango

Developer Tools · Automation · Authentication

11,746

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

View details
93
Repo Health
85
Technical
68
Dependency
Built with
TypeScript97%
Updated 3 days ago
TypeScript
64%
Other

NocoDB

No Code Platforms · Databases · Low Code Platforms

64,861

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

View details
90
Repo Health
77
Technical
62
Dependency
Built with
TypeScript64%
Vue31%
Updated 2 days ago
HTML
36%

OpenPanel

Hosting Control Panel · Devops

743

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
HTML36%
Go32%
TypeScript25%
Updated yesterday

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