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

smufl-glyphs-info

v0.5.1

Published

Glyph data for the SMuFL specification for use inside Glyphs.app

Downloads

14

Readme

SMuFL Glyphs Info

npm GitHub issues

This package provides support files for use with the Glyphs font editing software that make it easier to develop fonts to the SMuFL (Standard Music Font Layout) specification.

It also includes a command line interface to help speed up installation of these support files.

Installation

To use the command line interface you will need to install this package using the Node Package Manager (NPM):

npm install -g smufl-glyphs-info

Node.js allows you to run software written in JavaScript on your computer. The Node website includes several options for installing Node if you don’t already have it installed.

If you are already using Homebrew on your Mac, it might be easiest to install Node using Homebrew:

brew install node

Installing Node also installs the Node Package Manager, which is more commonly known as “NPM”. Here’s how the NPM installation command above breaks down:

  1. npm tells your terminal to start running the Node Package Manager.

  2. install tells NPM that you want to install a package.

  3. -g tells NPM that you want to install the package globally, rather than only for a local project.

  4. smufl-glyphs-info tells NPM the name of the package you want to install.

Usage

To install the support files using the command line interface run the following in your terminal:

smufl-glyphs

Follow the on-screen prompts to complete the installation. If you have existing GlyphData.xml or Groups.plist files, you will be asked if you want to overwrite them.

More information on how to use the smufl-glyphs command can be found by running:

smufl-glyphs --help

Details

The Glyphs font editing software allows for the expansion of its standard glyph database and custom categorisation in its left sidebar by providing custom GlyphData.xml and Groups.plist files.

This package provides:

  1. GlyphData.xml, which describes all of the glyphs defined in the SMuFL specification’s glyphnames.json so that Glyphs can understand these nonstandard codepoints.

  2. Groups.plist, which defines a custom SMuFL category in Glyphs’ left sidebar with sub-categories for each unicode range specified in the SMuFL specification’s ranges.json.

If you would like to access these files directly, you will find them in the dist directory.

Manually copying the support files

Running the smufl-glyphs command in your terminal will copy these support files to Glyphs’ Application Support directory for you, but this can also be done manually if you prefer to avoid Node, the Terminal, and other scary things.

You can find Glyphs’ Application Support directory at: /Users/YOUR-USER-NAME/Library/Application Support/Glyphs.

One quick way to find this is to open Glyphs and select Script > Open Scripts Folder.

If it doesn’t exist, you should create an Info directory alongside the Scripts directory to put GlyphData.xml and Groups.plist in.

You should end up with a directory structure like this:

~/Library
└── Application Support
    └── Glyphs
        ├── Info
        │   ├── GlyphData.xml
        │   └── Groups.plist
        ├── Scripts
        └── ...

Contributing

This package was written by someone with fairly little experience working with Glyphs, and only cursory familiarity with the SMuFL specification. If you think something ought to be done differently, that’s fantastic! Both new issues and pull requests are very welcome.

Please check out the contribution guide for more details, and read the code of conduct to learn about being gentle and kind to one another. Gentleness and kindness are good things.

License

This software is free to use, modify, and redistribute under a GNU General Public License.

Useful Links