ecoAPM / NotoSans

NPM package for WOFF2 formatted Noto Sans fonts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project is now archived, in favor of Fontsource.

Noto Sans Web Fonts

Use Noto Sans web fonts with a single CSS import!

npm version CI status

Maintainability Rating Reliability Rating Security Rating

Requirements

  • Node.js
  • a CSS bundler (or JS bundler that can also bundle CSS)

Installation

npm i notosans

or

yarn add notosans

Usage

Import the CSS file from the package to include the @font-face declarations and .woff2 files in your bundle:

@import url("notosans/noto.css");

body {
    font-family: "Noto Sans", sans-serif; /* it's always a good idea to specify a generic fallback */
}

Build from source

This npm package is built from an automated process that downloads and converts Google's Noto Sans font from TTF to WOFF2.

To run it yourself, clone this repo and then run:

docker-compose up

About

NPM package for WOFF2 formatted Noto Sans fonts

License:MIT License


Languages

Language:Dockerfile 84.8%Language:Shell 15.2%