# directory-fonts-complete

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

Latest version **1.2.0** (published 2017-09-17) · CC0-1.0 license · 0 weekly downloads

## Install

```sh
npm install directory-fonts-complete
pnpm add directory-fonts-complete
yarn add directory-fonts-complete
bun add directory-fonts-complete
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2017-09-17 |
| First published | 2015-07-25 |
| Weekly downloads | 0 |
| License | CC0-1.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Jonathan Neal |
| Maintainers | jonathantneal, rajdee |
| Keywords | directory, web, fonts, complete, families, family, styles, variants, weights |

## Links

- npm: https://www.npmjs.com/package/directory-fonts-complete
- Repository: https://github.com/jonathantneal/directory-fonts-complete
- Issues: https://github.com/jonathantneal/directory-fonts-complete/issues
- npm.io page: https://npm.io/package/directory-fonts-complete

## Dependencies (6)

- [brotli](https://npm.io/package/brotli.md) ^1.3.2
- [is-eot](https://npm.io/package/is-eot.md) ^1.0.0
- [is-otf](https://npm.io/package/is-otf.md) ^0.1.1
- [is-ttf](https://npm.io/package/is-ttf.md) ^0.2.1
- [is-woff](https://npm.io/package/is-woff.md) ^1.0.1
- [is-woff2](https://npm.io/package/is-woff2.md) ^1.0.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2017-09-17
- 1.1.0 — 2016-12-07
- 1.0.0 — 2015-07-25

## README

# Directory Fonts Complete

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

## Usage

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

yields

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

---
_Source: https://npm.io/package/directory-fonts-complete · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
