npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

firacode-xq

v0.0.1

Published

Fira Code: monospaced font with programming ligatures

Downloads

17

Readme

Fira Code: monospaced font with programming ligatures

Problem

Programmers use a lot of symbols, often encoded with several characters. For the human brain, sequences like ->, <= or := are single logical tokens, even if they take two or three characters on the screen. Your eye spends a non-zero amount of energy to scan, parse and join multiple characters into a single logical one. Ideally, all programming languages should be designed with full-fledged Unicode symbols for operators, but that’s not the case yet.

Solution

Download v1.205 · How to install · Troubleshooting · News & updates

Fira Code is an extension of the Fira Mono font containing a set of ligatures for common programming multi-character combinations. This is just a font rendering feature: underlying code remains ASCII-compatible. This helps to read and understand code faster. For some frequent sequences like .. or //, ligatures allow us to correct spacing.

Code examples

Ruby:

JavaScript:

PHP:

Erlang:

Elixir:

Go:

LiveScript:

Clojure:

Swift:

Terminal support

| Works | Doesn’t work | | ------------------ | ------------------ | | Butterfly | Alacritty | | Hyper.app | cmd.exe | | iTerm 2 (since 3.1) | Cmder | | Kitty | ConEmu | | Konsole | GNOME Terminal | | QTerminal | mate-terminal | | Terminal.app | mintty | | Termux | PuTTY | | Token2Shell/MD | rxvt | | upterm | ZOC (Windows) | | ZOC (macOS) | gtkterm, guake, LXTerminal, sakura, Terminator, xfce4-terminal, and other libvte-based terminals (bug report) |

Editor support

| Works | Doesn’t work | | ----- | -------------- | | Abricotine | Arduino IDE | | Android Studio (2.3+, instructions) | Adobe Dreamweaver | | Anjuta (unless at the EOF) | Delphi IDE | | AppCode (2016.2+, instructions) | Eclipse (Win, vote here) | | Atom 1.1 or newer (instructions) | Standalone Emacs (workaround) | | BBEdit/TextWrangler (v. 11 only, instructions) | gVim (Windows workaround) | | Brackets (with this plugin) | IDLE | | Chocolat | KDevelop 4 | | CLion (2016.2+, instructions) | Monkey Studio IDE | | Cloud9 (instructions) | | | Coda 2 | | | CodeLite | | | Eclipse (Mac 4.7+, Linux) | | | Geany | | gEdit / Pluma | | GNOME Builder | | IntelliJ IDEA (2016.2+, instructions) | | Kate, KWrite | | Komodo | | Leafpad | | LibreOffice | | LightTable (instructions) | | LINQPad | | MacVim 7.4 or newer (instructions) | | Mancy | | Meld | | Mousepad | | NeoVim-gtk | | NetBeans | | Notepad (Win) | | Notepad++ (with a workaround) | | PhpStorm (2016.2+, instructions) | | PyCharm (2016.2+, instructions) | | QtCreator | | Rider | | RStudio (instructions) | | RubyMine (2016.2+, instructions) | | Scratch | | SublimeText (3146+) | | Spyder IDE (only with Qt5) | | SuperCollider 3 | | TextAdept (Linux, Mac) | | TextEdit | | TextMate 2 | | VimR (instructions) | | Visual Studio 2015 | | Visual Studio 2017 | | Visual Studio Code (instructions) | | WebStorm (2016.2+, instructions) | | Xamarin Studio/Monodevelop | | Xcode (8.0+, otherwise with plugin) | | Probably work: Smultron, Vico | Under question: Code::Blocks IDE |

Browser support

<!-- HTML -->
<link rel="stylesheet" href="https://cdn.rawgit.com/tonsky/FiraCode/1.205/distr/fira_code.css">
/* CSS */
@import url(https://cdn.rawgit.com/tonsky/FiraCode/1.205/distr/fira_code.css);
  • IE 10+, Edge: enable with font-feature-settings: "calt" 1;
  • Firefox
  • Safari
  • Chromium-based browsers (Chrome, Opera)
  • ACE
  • CodeMirror (enable with font-variant-ligatures: contextual;)

Projects using Fira Code

Alternatives

Other monospaced fonts with ligatures:

Credits