notosans

Noto Sans Web Fonts


Keywords
css, font, nodejs, noto, noto-fonts, noto-sans, npm, web-fonts, woff2
License
OFL-1.1
Install
npm install notosans@5.0.0

Documentation

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