typedump 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +116 -0
- package/data/fonts-data.json +15822 -0
- package/dist/chunk-D7LJ3A3P.js +254 -0
- package/dist/index.d.ts +59 -0
- package/dist/index.js +19 -0
- package/dist/mcp/server.d.ts +2 -0
- package/dist/mcp/server.js +177 -0
- package/fonts/ARK-ES-DenseBold.woff2 +0 -0
- package/fonts/ARK-ES-DenseLight.woff2 +0 -0
- package/fonts/ARK-ES-DenseMedium.woff2 +0 -0
- package/fonts/ARK-ES-DenseRegular.woff2 +0 -0
- package/fonts/ARK-ES-SolidBold.woff2 +0 -0
- package/fonts/ARK-ES-SolidLight.woff2 +0 -0
- package/fonts/ARK-ES-SolidMedium.woff2 +0 -0
- package/fonts/ARK-ES-SolidRegular.woff2 +0 -0
- package/fonts/AlphaLyrae-Medium.woff2 +0 -0
- package/fonts/Amiamie-Black.woff2 +0 -0
- package/fonts/Amiamie-BlackItalic.woff2 +0 -0
- package/fonts/Amiamie-BlackItalicRound.woff2 +0 -0
- package/fonts/Amiamie-BlackRound.woff2 +0 -0
- package/fonts/Amiamie-Italic.woff2 +0 -0
- package/fonts/Amiamie-ItalicRound.woff2 +0 -0
- package/fonts/Amiamie-Light.woff2 +0 -0
- package/fonts/Amiamie-LightItalic.woff2 +0 -0
- package/fonts/Amiamie-Regular.woff2 +0 -0
- package/fonts/Amiamie-RegularRound.woff2 +0 -0
- package/fonts/Anthony.woff2 +0 -0
- package/fonts/AntiqueSerie-Regular.woff2 +0 -0
- package/fonts/ApfelGrotezk-Brukt.woff2 +0 -0
- package/fonts/ApfelGrotezk-Fett.woff2 +0 -0
- package/fonts/ApfelGrotezk-Mittel.woff2 +0 -0
- package/fonts/ApfelGrotezk-Regular.woff2 +0 -0
- package/fonts/ApfelGrotezk-Satt.woff2 +0 -0
- package/fonts/AspektaVF.woff2 +0 -0
- package/fonts/Astloch-Bold.woff2 +0 -0
- package/fonts/Astloch-Regular.woff2 +0 -0
- package/fonts/Aujournuit-VariableVF.woff2 +0 -0
- package/fonts/Azabache-Regular.woff2 +0 -0
- package/fonts/AzeretMonoVF_sm01.woff2 +0 -0
- package/fonts/BDLifelessGrotesk_Variable_sm01.woff2 +0 -0
- package/fonts/BDOGrotesk-VF FREE.woff2 +0 -0
- package/fonts/BagelFatOne-Regular.woff2 +0 -0
- package/fonts/Baskervville-Italic[wght].woff2 +0 -0
- package/fonts/Baskervville[wght].woff2 +0 -0
- package/fonts/Basteleur-Bold.woff2 +0 -0
- package/fonts/Basteleur-Moonlight.woff2 +0 -0
- package/fonts/BicepsGrotesk-Regular.woff2 +0 -0
- package/fonts/Block-font.woff2 +0 -0
- package/fonts/Boldonse-Regular FREE.woff2 +0 -0
- package/fonts/Boxing-Regular FREE.woff2 +0 -0
- package/fonts/C059-BdIta.woff2 +0 -0
- package/fonts/C059-Bold.woff2 +0 -0
- package/fonts/C059-Italic.woff2 +0 -0
- package/fonts/C059-Roman.woff2 +0 -0
- package/fonts/CabinetGrotesk-Variable.woff2 +0 -0
- package/fonts/Canarina-Regular.woff2 +0 -0
- package/fonts/Carattere-Regular.woff2 +0 -0
- package/fonts/ChaumontScript-Regular.woff2 +0 -0
- package/fonts/Chillax-Variable.woff2 +0 -0
- package/fonts/Comico-Regular FREE.woff2 +0 -0
- package/fonts/Commissioner-Black.woff2 +0 -0
- package/fonts/Commissioner-Bold.woff2 +0 -0
- package/fonts/Commissioner-ExtraBold.woff2 +0 -0
- package/fonts/Commissioner-ExtraLight.woff2 +0 -0
- package/fonts/Commissioner-Light.woff2 +0 -0
- package/fonts/Commissioner-Medium.woff2 +0 -0
- package/fonts/Commissioner-Regular.woff2 +0 -0
- package/fonts/Commissioner-SemiBold.woff2 +0 -0
- package/fonts/Commissioner-Thin.woff2 +0 -0
- package/fonts/Compagnon-Bold.woff2 +0 -0
- package/fonts/Cooper-Black.woff2 +0 -0
- package/fonts/Cooper-BlackItalic.woff2 +0 -0
- package/fonts/Cooper-Bold.woff2 +0 -0
- package/fonts/Cooper-BoldItalic.woff2 +0 -0
- package/fonts/Cooper-ExtraBold.woff2 +0 -0
- package/fonts/Cooper-ExtraBoldItalic.woff2 +0 -0
- package/fonts/Cooper-Italic.woff2 +0 -0
- package/fonts/Cooper-Medium.woff2 +0 -0
- package/fonts/Cooper-MediumItalic.woff2 +0 -0
- package/fonts/Cooper-Regular.woff2 +0 -0
- package/fonts/Cooper-SemiBold.woff2 +0 -0
- package/fonts/Cooper-SemiBoldItalic.woff2 +0 -0
- package/fonts/Cormorant-Italic-VariableFont_wght.woff2 +0 -0
- package/fonts/Cormorant-VariableFont_wght.woff2 +0 -0
- package/fonts/CormorantUnicase-Bold.woff2 +0 -0
- package/fonts/CormorantUnicase-Light.woff2 +0 -0
- package/fonts/CormorantUnicase-Medium.woff2 +0 -0
- package/fonts/CormorantUnicase-Regular.woff2 +0 -0
- package/fonts/CormorantUnicase-SemiBold.woff2 +0 -0
- package/fonts/CossetteTexte-Bold.woff2 +0 -0
- package/fonts/CossetteTexte-Regular.woff2 +0 -0
- package/fonts/CossetteTitre-Bold.woff2 +0 -0
- package/fonts/CossetteTitre-Regular.woff2 +0 -0
- package/fonts/Crewmate-Regular.woff2 +0 -0
- package/fonts/Crozet-Regular.woff2 +0 -0
- package/fonts/Cr/303/251dible-Regular.woff2 +0 -0
- package/fonts/CyGrotesk-GrandDark.woff2 +0 -0
- package/fonts/DINdong.woff2 +0 -0
- package/fonts/DatDot-Bold.woff2 +0 -0
- package/fonts/DatDot-Light.woff2 +0 -0
- package/fonts/DatDot-Regular.woff2 +0 -0
- package/fonts/DelaGothicOne-Regular.woff2 +0 -0
- package/fonts/DepartureMono-Regular.woff2 +0 -0
- package/fonts/Director-Light FREE.woff2 +0 -0
- package/fonts/Director-Regular FREE.woff2 +0 -0
- package/fonts/Director-bold FREE.woff2 +0 -0
- package/fonts/Elevatia FREE.woff2 +0 -0
- package/fonts/ElevatiaItalic FREE.woff2 +0 -0
- package/fonts/Excessive-ExtraCondensed.woff2 +0 -0
- package/fonts/FA-1-Regular.woff2 +0 -0
- package/fonts/FRANKINITY.woff2 +0 -0
- package/fonts/Fat Porn Font.woff2 +0 -0
- package/fonts/Format 1452 FREE.woff2 +0 -0
- package/fonts/Format-Bold.woff2 +0 -0
- package/fonts/Format-Italic.woff2 +0 -0
- package/fonts/Format-Regular.woff2 +0 -0
- package/fonts/Format-SemiBold.woff2 +0 -0
- package/fonts/Freeman-Regular.woff2 +0 -0
- package/fonts/FunnelSans-Italic-VariableFont_wght.woff2 +0 -0
- package/fonts/FunnelSans-VariableFont_wght.woff2 +0 -0
- package/fonts/GalgoVF.woff2 +0 -0
- package/fonts/Geist-VariableFont_wght.woff2 +0 -0
- package/fonts/GeistMono-VariableFont_wght.woff2 +0 -0
- package/fonts/GeneralSans-Variable.woff2 +0 -0
- package/fonts/GeneralSans-VariableItalic.woff2 +0 -0
- package/fonts/GranturismoGX.woff2 +0 -0
- package/fonts/Handjet[EGRD,ESHP,wght].woff2 +0 -0
- package/fonts/Havana-Regular.woff2 +0 -0
- package/fonts/HedvigLettersSans-Regular.woff2 +0 -0
- package/fonts/HedvigLettersSerif[opsz].woff2 +0 -0
- package/fonts/HostGrotesk-Italic-VariableFont_wght.woff2 +0 -0
- package/fonts/HostGrotesk-VariableFont_wght.woff2 +0 -0
- package/fonts/HubotSans-Italic-VariableFont_wdth,wght.woff2 +0 -0
- package/fonts/HubotSans-VariableFont_wdth,wght.woff2 +0 -0
- package/fonts/Insolente-Regular.woff2 +0 -0
- package/fonts/InstrumentSans-Italic-VariableFont_wdth,wght.woff2 +0 -0
- package/fonts/InstrumentSans-VariableFont_wdth,wght.woff2 +0 -0
- package/fonts/IntraNetRegular.woff2 +0 -0
- package/fonts/Isenheim_Fin.woff2 +0 -0
- package/fonts/Isenheim_Regulier.woff2 +0 -0
- package/fonts/Jakob-Semi-Condensed.woff2 +0 -0
- package/fonts/Jaro-Regular-VariableFont_opsz.woff2 +0 -0
- package/fonts/JetBrainsMono-Italic-VariableFont_wght.woff2 +0 -0
- package/fonts/JetBrainsMono-VariableFont_wght.woff2 +0 -0
- package/fonts/Jost-200-Thin.woff2 +0 -0
- package/fonts/Jost-200-ThinItalic.woff2 +0 -0
- package/fonts/Jost-300-Light.woff2 +0 -0
- package/fonts/Jost-300-LightItalic.woff2 +0 -0
- package/fonts/Jost-400-Book.woff2 +0 -0
- package/fonts/Jost-400-BookItalic.woff2 +0 -0
- package/fonts/Jost-500-Medium.woff2 +0 -0
- package/fonts/Jost-500-MediumItalic.woff2 +0 -0
- package/fonts/Jost-600-Semi.woff2 +0 -0
- package/fonts/Jost-600-SemiItalic.woff2 +0 -0
- package/fonts/Jost-700-Bold.woff2 +0 -0
- package/fonts/Jost-900-Black.woff2 +0 -0
- package/fonts/Jost-900-BlackItalic.woff2 +0 -0
- package/fonts/KnackVF.woff2 +0 -0
- package/fonts/KobataGX.woff2 +0 -0
- package/fonts/Kultur/303/253 Type.woff2 +0 -0
- package/fonts/LCTIptex-VF FREE.woff2 +0 -0
- package/fonts/LCTMogi-VF.woff2 +0 -0
- package/fonts/LTMuseum-Black.woff2 +0 -0
- package/fonts/LTMuseum-BlackItalic.woff2 +0 -0
- package/fonts/LTMuseum-Bold.woff2 +0 -0
- package/fonts/LTMuseum-BoldItalic.woff2 +0 -0
- package/fonts/LTMuseum-Light.woff2 +0 -0
- package/fonts/LTMuseum-LightItalic.woff2 +0 -0
- package/fonts/LTMuseum-Medium.woff2 +0 -0
- package/fonts/LTMuseum-MediumItalic.woff2 +0 -0
- package/fonts/LibertinusSans-Bold.woff2 +0 -0
- package/fonts/LibertinusSans-Italic.woff2 +0 -0
- package/fonts/LibertinusSans-Regular.woff2 +0 -0
- package/fonts/Louise-Regular.woff2 +0 -0
- package/fonts/MonaSans-Italic-VariableFont_wdth,wght.woff2 +0 -0
- package/fonts/MonaSans-VariableFont_wdth,wght.woff2 +0 -0
- package/fonts/MontaguSlab-VariableFont_opsz,wght.woff2 +0 -0
- package/fonts/Neo-castel.woff2 +0 -0
- package/fonts/NouvelleGrotesquerie-Regular.woff2 +0 -0
- package/fonts/Nudles-Bold.woff2 +0 -0
- package/fonts/Nudles-Fat.woff2 +0 -0
- package/fonts/Nudles-Hairline.woff2 +0 -0
- package/fonts/Nudles-Regular.woff2 +0 -0
- package/fonts/Nudles-Thin.woff2 +0 -0
- package/fonts/NyghtSerif-Bold.woff2 +0 -0
- package/fonts/NyghtSerif-BoldItalic.woff2 +0 -0
- package/fonts/NyghtSerif-Dark.woff2 +0 -0
- package/fonts/NyghtSerif-DarkItalic.woff2 +0 -0
- package/fonts/NyghtSerif-Light.woff2 +0 -0
- package/fonts/NyghtSerif-LightItalic.woff2 +0 -0
- package/fonts/NyghtSerif-Medium.woff2 +0 -0
- package/fonts/NyghtSerif-MediumItalic.woff2 +0 -0
- package/fonts/NyghtSerif-Regular.woff2 +0 -0
- package/fonts/NyghtSerif-RegularItalic.woff2 +0 -0
- package/fonts/Oi-Regular.woff2 +0 -0
- package/fonts/OpenSauceSans-Black.woff2 +0 -0
- package/fonts/OpenSauceSans-Bold.woff2 +0 -0
- package/fonts/OpenSauceSans-ExtraBold.woff2 +0 -0
- package/fonts/OpenSauceSans-Light.woff2 +0 -0
- package/fonts/OpenSauceSans-Medium.woff2 +0 -0
- package/fonts/OpenSauceSans-Regular.woff2 +0 -0
- package/fonts/OpenSauceSans-SemiBold.woff2 +0 -0
- package/fonts/OrticaAngular-Bold.woff2 +0 -0
- package/fonts/OrticaLinear-Bold.woff2 +0 -0
- package/fonts/OrticaLinear-Light.woff2 +0 -0
- package/fonts/OrticaLinear-Regular.woff2 +0 -0
- package/fonts/Oswald-VariableFont_wght.woff2 +0 -0
- package/fonts/Outfit[wght] FREE.woff2 +0 -0
- package/fonts/OverusedGrotesk-VF.woff2 +0 -0
- package/fonts/P95-CYR-Regular.woff2 +0 -0
- package/fonts/Pencerio-Hairline FREE.woff2 +0 -0
- package/fonts/PhospheneFont-Regular.woff2 +0 -0
- package/fonts/PicNic-Regular.woff2 +0 -0
- package/fonts/Pilowlava-Atome.woff2 +0 -0
- package/fonts/Pilowlava-Regular.woff2 +0 -0
- package/fonts/Piscolabis-Regular.woff2 +0 -0
- package/fonts/PlaypenSans-VariableFont_wght.woff2 +0 -0
- package/fonts/PlusJakartaSans-Variable FREE.woff2 +0 -0
- package/fonts/PlusJakartaSans-VariableItalic FREE.woff2 +0 -0
- package/fonts/RT Obligat FREE.woff2 +0 -0
- package/fonts/Ranade-Variable.woff2 +0 -0
- package/fonts/Ranade-VariableItalic.woff2 +0 -0
- package/fonts/Ranga-Bold.woff2 +0 -0
- package/fonts/Ranga-Regular.woff2 +0 -0
- package/fonts/Redaction-Bold.woff2 +0 -0
- package/fonts/Redaction-Italic.woff2 +0 -0
- package/fonts/Redaction-Regular.woff2 +0 -0
- package/fonts/Redaction10-Bold.woff2 +0 -0
- package/fonts/Redaction10-Italic.woff2 +0 -0
- package/fonts/Redaction10-Regular.woff2 +0 -0
- package/fonts/Redaction100-Bold.woff2 +0 -0
- package/fonts/Redaction100-Italic.woff2 +0 -0
- package/fonts/Redaction100-Regular.woff2 +0 -0
- package/fonts/Redaction20-Bold.woff2 +0 -0
- package/fonts/Redaction20-Italic.woff2 +0 -0
- package/fonts/Redaction20-Regular.woff2 +0 -0
- package/fonts/Redaction35-Bold.woff2 +0 -0
- package/fonts/Redaction35-Italic.woff2 +0 -0
- package/fonts/Redaction35-Regular.woff2 +0 -0
- package/fonts/Redaction50-Bold.woff2 +0 -0
- package/fonts/Redaction50-Italic.woff2 +0 -0
- package/fonts/Redaction50-Regular.woff2 +0 -0
- package/fonts/Redaction70-Bold.woff2 +0 -0
- package/fonts/Redaction70-Italic.woff2 +0 -0
- package/fonts/Redaction70-Regular.woff2 +0 -0
- package/fonts/Reglo-Bold.woff2 +0 -0
- package/fonts/Roberte-Regular.woff2 +0 -0
- package/fonts/Ronzino-Bold.woff2 +0 -0
- package/fonts/Ronzino-Medium.woff2 +0 -0
- package/fonts/Ronzino-Oblique.woff2 +0 -0
- package/fonts/Ronzino-Regular.woff2 +0 -0
- package/fonts/Saint Regular.woff2 +0 -0
- package/fonts/Satoshi-Variable.woff2 +0 -0
- package/fonts/Satoshi-VariableItalic.woff2 +0 -0
- package/fonts/SchibstedGrotesk-Italic-VariableFont_wght.woff2 +0 -0
- package/fonts/SchibstedGrotesk-VariableFont_wght.woff2 +0 -0
- package/fonts/ShantellSans-Italic-VariableFont_BNCE,INFM,SPAC,wght.woff2 +0 -0
- package/fonts/ShantellSans-VariableFont_BNCE,INFM,SPAC,wght.woff2 +0 -0
- package/fonts/Sharpie-Variable FREE.woff2 +0 -0
- package/fonts/SinistreVF.woff2 +0 -0
- package/fonts/SligoilVF.woff2 +0 -0
- package/fonts/SpaceGrotesk-VariableFont_wght.woff2 +0 -0
- package/fonts/SpaceMono-Bold.woff2 +0 -0
- package/fonts/SpaceMono-BoldItalic.woff2 +0 -0
- package/fonts/SpaceMono-Italic.woff2 +0 -0
- package/fonts/SpaceMono-Regular.woff2 +0 -0
- package/fonts/Sprat-Variable.woff2 +0 -0
- package/fonts/Srisakdi-Bold.woff2 +0 -0
- package/fonts/Srisakdi-Regular.woff2 +0 -0
- package/fonts/Supreme-Variable FREE.woff2 +0 -0
- package/fonts/Supreme-VariableItalic FREE.woff2 +0 -0
- package/fonts/Switzer-Variable.woff2 +0 -0
- package/fonts/Switzer-VariableItalic.woff2 +0 -0
- package/fonts/TASAExplorer-Bold.woff2 +0 -0
- package/fonts/TASAExplorer-ExtraBold.woff2 +0 -0
- package/fonts/TASAExplorer-Medium.woff2 +0 -0
- package/fonts/TASAExplorer-Regular.woff2 +0 -0
- package/fonts/TASAExplorer-SemiBold.woff2 +0 -0
- package/fonts/TASAExplorer-VariableFont_wght.woff2 +0 -0
- package/fonts/ThestralNeue-Bold.woff2 +0 -0
- package/fonts/Thunder-VF.woff2 +0 -0
- package/fonts/TikTokSans-VariableFont_opsz,slnt,wdth,wght.woff2 +0 -0
- package/fonts/Tillana-Bold.woff2 +0 -0
- package/fonts/Tillana-ExtraBold.woff2 +0 -0
- package/fonts/Tillana-Medium.woff2 +0 -0
- package/fonts/Tillana-Regular.woff2 +0 -0
- package/fonts/Tillana-SemiBold.woff2 +0 -0
- package/fonts/TimesNewerRoman-Bold.woff2 +0 -0
- package/fonts/TimesNewerRoman-BoldItalic.woff2 +0 -0
- package/fonts/TimesNewerRoman-Italic.woff2 +0 -0
- package/fonts/TimesNewerRoman-Regular.woff2 +0 -0
- package/fonts/Ultra-Regular.woff2 +0 -0
- package/fonts/Uncut-Sans-VF.woff2 +0 -0
- package/fonts/VampiroOne-Regular.woff2 +0 -0
- package/fonts/Zodiak-Variable FREE.woff2 +0 -0
- package/fonts/Zodiak-VariableItalic FREE.woff2 +0 -0
- package/fonts/am_xix FREE.woff2 +0 -0
- package/fonts/enjoyplease2-Regular.woff2 +0 -0
- package/fonts/milkman.woff2 +0 -0
- package/fonts/outward-block.woff2 +0 -0
- package/fonts/outward-borders.woff2 +0 -0
- package/fonts/outward-round.woff2 +0 -0
- package/fonts/standard-bold.woff2 +0 -0
- package/fonts/standard-book.woff2 +0 -0
- package/fonts/terminal-grotesque.woff2 +0 -0
- package/fonts/terminal-grotesque_open.woff2 +0 -0
- package/package.json +46 -0
package/README.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# typedump
|
|
2
|
+
|
|
3
|
+
A curated index of open-source typefaces for designers — with metadata, utilities, and an MCP server for AI coding agents.
|
|
4
|
+
|
|
5
|
+
144 hand-picked fonts across three collections: **Text** (interfaces, editorial, code), **Display** (headlines, posters, culture), and **Brutal** (experimental, pixel, raw). All fonts are bundled as woff2 — no external dependencies, no CDN, works offline.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install typedump
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## MCP Server
|
|
14
|
+
|
|
15
|
+
Connect your AI coding agent to the TypeDump font library. The agent can search fonts, get code snippets, suggest pairings, and more — all from within your project.
|
|
16
|
+
|
|
17
|
+
### Claude Code
|
|
18
|
+
|
|
19
|
+
Add to your `claude.json` or run:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
claude mcp add typedump -- npx typedump-mcp
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Cursor / Windsurf / VS Code
|
|
26
|
+
|
|
27
|
+
Add to your MCP config:
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"mcpServers": {
|
|
32
|
+
"typedump": {
|
|
33
|
+
"command": "npx",
|
|
34
|
+
"args": ["typedump-mcp"]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### What the agent can do
|
|
41
|
+
|
|
42
|
+
Once connected, your agent can answer questions like:
|
|
43
|
+
|
|
44
|
+
- *"Suggest a neutral sans for a fintech dashboard"*
|
|
45
|
+
- *"What pairs well with Nyght Serif as a body font?"*
|
|
46
|
+
- *"Give me the Next.js config for Geist"*
|
|
47
|
+
- *"Find fonts similar to Cabinet Grotesk"*
|
|
48
|
+
- *"Show me variable display fonts for a culture zine"*
|
|
49
|
+
|
|
50
|
+
### Available tools
|
|
51
|
+
|
|
52
|
+
| Tool | What it does |
|
|
53
|
+
|---|---|
|
|
54
|
+
| `search_fonts` | Search by name, use case, collection, category, or variable flag |
|
|
55
|
+
| `get_font` | Full details: variants, variable axes, OpenType features |
|
|
56
|
+
| `suggest_font` | Natural language → top font matches with reasoning |
|
|
57
|
+
| `find_similar` | Fonts visually similar to a given font |
|
|
58
|
+
| `pair_fonts` | Headline + body pairings, optionally anchored to a font you already use |
|
|
59
|
+
| `get_code` | Ready code for CSS, Next.js `localFont`, or Tailwind |
|
|
60
|
+
|
|
61
|
+
## JavaScript / TypeScript API
|
|
62
|
+
|
|
63
|
+
```ts
|
|
64
|
+
import { search, suggest, findSimilar, pairFonts, getCode, findFont } from 'typedump'
|
|
65
|
+
|
|
66
|
+
// Search
|
|
67
|
+
const results = search('neutral sans', { isVariable: true })
|
|
68
|
+
|
|
69
|
+
// Suggest by description
|
|
70
|
+
const picks = suggest('clean sans for a SaaS dashboard', 3)
|
|
71
|
+
|
|
72
|
+
// Get code
|
|
73
|
+
const snippet = getCode('Geist', 'nextjs')
|
|
74
|
+
|
|
75
|
+
// Find similar fonts
|
|
76
|
+
const similar = findSimilar('Cabinet Grotesk', 5)
|
|
77
|
+
|
|
78
|
+
// Suggest pairings
|
|
79
|
+
const pairings = pairFonts('Nyght Serif')
|
|
80
|
+
|
|
81
|
+
// Full font details
|
|
82
|
+
const font = findFont('Instrument Sans')
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Collections
|
|
86
|
+
|
|
87
|
+
**Text** — fonts built for reading and interfaces. Neutral grotesques, humanist sans, editorial serifs, monospaces.
|
|
88
|
+
|
|
89
|
+
**Display** — fonts with a strong point of view. Brand headlines, poster type, culture-driven display faces, scripts.
|
|
90
|
+
|
|
91
|
+
**Brutal** — fonts that push limits. Pixel, experimental, raw, and culture-underground.
|
|
92
|
+
|
|
93
|
+
## Use Cases
|
|
94
|
+
|
|
95
|
+
Each font is tagged with one or more use cases:
|
|
96
|
+
|
|
97
|
+
| Use case | What it's for |
|
|
98
|
+
|---|---|
|
|
99
|
+
| `Interface` | Neutral, balanced — product UI, dashboards, apps |
|
|
100
|
+
| `Editorial / Ecommerce` | Humanist or characterful — shops, magazines, brand sites |
|
|
101
|
+
| `Editorial` | Long-form reading — articles, books, newspapers |
|
|
102
|
+
| `Code / Data` | Monospace — terminals, tables, developer tools |
|
|
103
|
+
| `Brand Headline` | Strong display — logos, marketing, editorial titles |
|
|
104
|
+
| `Poster` | Maximum impact — large type only |
|
|
105
|
+
| `Culture` | Zines, art, independent press, identity |
|
|
106
|
+
| `Tech / Digital` | Pixel, screen-native, digital culture |
|
|
107
|
+
| `Handwritten / Script` | Calligraphy, personal, organic accents |
|
|
108
|
+
| `Experimental` | Avant-garde, provocative, art projects |
|
|
109
|
+
|
|
110
|
+
## Font files
|
|
111
|
+
|
|
112
|
+
All fonts are bundled as woff2 inside the package at `node_modules/typedump/fonts/`. The `get_code` tool (and `getCode` function) generates copy commands and snippets that reference these files directly — no internet connection required.
|
|
113
|
+
|
|
114
|
+
## License
|
|
115
|
+
|
|
116
|
+
The package code is MIT. Each font has its own license (SIL OFL, Apache 2.0, or similar open-source). License info is included in the font metadata.
|