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

    @kebian/fontawesome-free-metadata

    1.0.4 • Public • Published

    Metadata for Font Awesome Free

    Upon install, this packages parses the YAML metadata from the @fortawesome/fontawesome-free package and creates JSON exports.

    Example CommonJS usage:

    const { categories, icons, shims, sponsors } = require('@kebian/fontawesome-free-metadata')
    
    const iconNames = Object.keys(icons)
    for (const name of iconNames) {
        console.log(`${name}: ${icons[name].label}`)
    }

    Example ES6 usage:

    import { categories, icons, shims, sponsors } from '@kebian/fontawesome-free-metadata'
    
    const iconNames = Object.keys(icons)
    for (const name of iconNames) {
        console.log(`${name}: ${icons[name].label}`)
    }

    Install

    npm i @kebian/fontawesome-free-metadata

    DownloadsWeekly Downloads

    7

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    3.35 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar