Socket
Socket
Sign inDemoInstall

directory-fonts-complete

Package Overview
Dependencies
8
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    directory-fonts-complete

Generate a complete list of fonts and their sources from a directory


Version published
Weekly downloads
3.5K
decreased by-6.65%
Maintainers
2
Install size
2.18 MB
Created
Weekly downloads
 

Changelog

Source

1.2.0 (2017-09-17)

  • Added: tests
  • Added: option for swap of output keys

Readme

Source

Directory Fonts Complete

Generate a complete list of fonts and their sources from a directory.

Usage

return require('directory-fonts-complete')('/System Folder/Fonts', ['custom/font/path/on/site']);

yields

{
    "Apple Braille": {
        "variants": {
            "400": {
                "normal": {
                    {
                        "local": [
                            "Apple Braille",
                            "AppleBraille"
                        ],
                        "url": {
                            "ttf": "/System/Library/Fonts/Apple Braille.ttf"
                        }
                    }
                }
            }
        }
    },
    ...
}

Keywords

FAQs

Last updated on 17 Sep 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc