# css-font-parser-papandreou

> A parser for the CSS font value

Latest version **0.2.3-patch1** (published 2018-12-09) · BSD license · 0 weekly downloads

## Install

```sh
npm install css-font-parser-papandreou
pnpm add css-font-parser-papandreou
yarn add css-font-parser-papandreou
bun add css-font-parser-papandreou
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.3-patch1 |
| Published | 2018-12-09 |
| First published | 2018-12-09 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 20.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 28 |
| Author | Bram Stein |
| Maintainers | papandreou |
| Keywords | css, font, parser |

## Links

- npm: https://www.npmjs.com/package/css-font-parser-papandreou
- Repository: https://github.com/bramstein/css-font-parser
- Homepage: https://github.com/bramstein/css-font-parser#readme
- Issues: https://github.com/bramstein/css-font-parser/issues
- npm.io page: https://npm.io/package/css-font-parser-papandreou

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 0.2.3-patch1 (latest) — 2018-12-09

## README

## CSS font value parser

[![browser support](https://ci.testling.com/bramstein/css-font-parser.png)](https://ci.testling.com/bramstein/css-font-parser)

A simple parser for parsing CSS font values in JavaScript.

## Installation

If you are using Node.js you can install the parser using:

    $ npm install css-font-parser

If you are using an AMD loader you can include the `src/parser.js` directly into your project.

## Usage

    > var parse = require('css-font-parser');
    > parse('15px sans-serif');
    
    {
      'font-family': ['sans-serif'],
      'font-size': '15px'
    }

    > parse('15px/18px "Neue Helvetica", Helvetica, sans-serif');

    {
      'font-family': ['Neue Helvetica', 'Helvetica', 'sans-serif'],
      'font-size': '15px',
      'line-height': '18px'
    }

## License

Licensed under the three-clause BSD license.

---
_Source: https://npm.io/package/css-font-parser-papandreou · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
