Have ideas to improve npm?Join in the discussion! »

    elderjs-plugin-google-fonts

    1.0.2 • Public • Published

    elderjs-plugin-google-fonts

    This plugin fetches fonts from google fonts, generates font-face definitions and inlines those in the head tag.

    Usage

    Simply install and add your config to elder.config.js. An example:

    'elderjs-plugin-google-fonts': {
      fonts: {
        'Anton': ['400'],
        'Overpass': ['400', '700i'],
        'Inter': ['400'],
      },
      subsets: 'latin'
    }

    Install

    npm i elderjs-plugin-google-fonts

    DownloadsWeekly Downloads

    10

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    4.13 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar