Home / npm packages / figlet

figlet source code

Every file of figlet@1.12.0 as published on npm: 1,014 files, 16.6 MB. Search them by exact text or regex, in milliseconds.

It uses: the fs module, fetch().

What figlet uses

APIIn figlet
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
NoWho does
process.env
reads environment variables
NoWho does
the fs module
reads and writes files
Yes: 4 files
e.g. dist/node-figlet.cjs
See the lines
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
Yes: 2 files
e.g. dist/figlet-DUZUWtGU.cjs
See the lines
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
NoWho does
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
importable-fonts/Big ASCII 12.js838 KB
fonts/Big ASCII 12.flf838 KB
importable-fonts/Big Mono 9.js683 KB
fonts/Big Mono 9.flf683 KB
importable-fonts/Mono 12.js608 KB
fonts/Mono 12.flf608 KB
importable-fonts/Big ASCII 9.js518 KB
fonts/Big ASCII 9.flf518 KB
importable-fonts/ASCII 12.js456 KB
fonts/ASCII 12.flf456 KB
importable-fonts/Small Mono 12.js390 KB
fonts/Small Mono 12.flf390 KB
importable-fonts/Mono 9.js369 KB
fonts/Mono 9.flf369 KB
importable-fonts/Small ASCII 12.js292 KB
importable-fonts/ASCII 9.js291 KB
fonts/ASCII 9.flf291 KB
fonts/Small ASCII 12.flf288 KB
importable-fonts/Small Mono 9.js265 KB
fonts/Small Mono 9.flf265 KB
importable-fonts/Small ASCII 9.js211 KB
fonts/Small ASCII 9.flf207 KB
importable-fonts/Def Leppard.js90 KB
fonts/Def Leppard.flf90 KB
importable-fonts/Mnemonic.js87 KB
fonts/Mnemonic.flf87 KB
importable-fonts/Georgia11.js62 KB
fonts/Georgia11.flf62 KB
importable-fonts/Georgi16.js50 KB
fonts/Georgi16.flf50 KB

Questions

How many files are in figlet?

Version 1.12.0 of figlet publishes 1,014 files of source, 16.6 MB in all, not counting images, fonts and source maps.

Does figlet use eval?

No: figlet doesn't call eval() anywhere in its published files.

Does figlet start other programs?

No: figlet doesn't use child_process anywhere in its published files.

Does figlet run an install script?

No: figlet has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine