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

@nartallax/fontello-wrapper

v1.0.5

Published

A set of scripts to do with Fontello exactly what I want

Downloads

7

Readme

Fontello Wrapper

A fine-tuning of Fontello to match my needs.
Main purpose of this all is to have one-click button to render everything exactly like you want it.

Disclaimer: I do not develop Fontello, and have no connections to the developers of Fontello.

Install

  1. Make sure your NodeJS is version 14 or higher
    Fontello implicitly requires this version of Node by using some relatively new JS syntax.
  2. npm install -g ttfautohint
    Fontello implies that there will be executable ttfautohint available to shell. Easiest way to achieve this is by installing this package globally.
  3. git clone https://github.com/fontello/fontello somewhere
    Location does not matter much, as we will configure it later.
  4. npm install inside Fontello directory
    Because those packages won't install themselves.
  5. npm install -g @nartallax/fontello-wrapper
    It is implied that the wrapper will be installed globally. It's not really required to do so; it's just does not makes sense to me to install this as dependency for any particular project.
  6. Put a path to server.js of Fontello in file FONTELLO_PATH.TXT near fontello-wrapper.js
    If you isn't sure where exactly you should put it, just launch the fontello-wrapper and the wrapper will tell you.

Note: most (all) of globally installed things here (like specific version of NodeJS, or ttfautohint) can be installed locally and mimic global behavior through manipulation of PATH environment variable, but this approach makes install and launch process even more complicated, so let's go without it.

Configure

Next step is to tell wrapper what to do on save.
This settings are related to the project you build your font for, and stored in JSON file.
I won't repeat myself here about exact syntax of the file; go look on it in type definitions.

Launch

If you installed the wrapper globally, as I suggested earlier, you now should be able to just launch fontello-wrapper ./my_project/my_config.json in command line.
After launch wrapper will open Fontello web interface in your default browser after the Fontello is launched. Don't use default web interface address, as this won't work as expected. "Export font" button will save the font as you configured.