@electron-fonts/cairo
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

Electron Fonts

Electron fonts packages provide font archives em electron desktop apps.

How to use

  • Install the package

  • On your preload.js, add:

import Cairo from "@electron-fonts/cairo"

window.addEventListener("DOMContentLoaded", () => {
    Cairo.inject()
})

/@electron-fonts/cairo/

    Package Sidebar

    Install

    npm i @electron-fonts/cairo

    Weekly Downloads

    3

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    756 kB

    Total Files

    13

    Last publish

    Collaborators

    • arthur-lobo