--- name: nerdfont-icons description: Resolve Nerd Font nf-* names to verified code points, glyphs, and dev-language escapes. Use when matching Nerd Font icons to hex/Unicode/JS/CSS/HTML/etc. license: MIT compatibility: "Requires Node.js 18+ with fetch" --- # Nerd Font Icons Never guess. Use script. ```bash node scripts/get-nerdfont-codepoint.js [format] ``` Formats: ```txt hex codepoint glyph js html java json-escape css css-content python rust go c cpp swift lua shell printf toml yaml vim elisp wezterm json all ``` Examples: ```bash node scripts/get-nerdfont-codepoint.js nf-md-brain all node scripts/get-nerdfont-codepoint.js brain all node scripts/get-nerdfont-codepoint.js nf-cod-account wezterm ``` Rules: - Do not read DB unless debugging. - DB: `references/nerdfont-icons.txt.br` Brotli text, `namehex`. - Empty result → auto-refresh from Nerd Fonts cheat sheet → retry. - Multiple results → show choices; do not invent.