Nomnom Pumpernickle Muffins

    code-icons
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.5 • Public • Published

    code-icons

    File specific icons for the browser from Atom File-icons, https://github.com/file-icons/atom

    Hyperapp demo

    Icon previews

    Install

    npm i code-icons

    Include CSS styles

    import 'code-icons/styles.css'

    Get className

    import icons from 'code-icons'
    
    const className = icons.getClass('src/app.js')
    const className = icons.getClassWithColor('README.md')
    
    document.body.innerHTML += `<span class="${className}"></span>`

    Resources

    Install

    npm i code-icons

    DownloadsWeekly Downloads

    1

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    420 kB

    Total Files

    10

    Last publish

    Collaborators

    • kenmueller