Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 419 Bytes

readme.md

File metadata and controls

25 lines (16 loc) · 419 Bytes

nf-icons

Easily use Nerd Font icons in JavaScript!

Installation

npm install nf-icons
yarn add nf-icons

Usage

First, make sure you are using one of the Nerd Fonts.

Then:

const icons = require('nf-icons');
console.log(icons.utf16(icons.names.MDI_EMOTICON_COOL)); // B)

API

See doc strings in index.ts