Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shinnn/all-font-face-attrs

Array of the font-face element attributes, including core attributes
https://github.com/shinnn/all-font-face-attrs

Last synced: 27 days ago
JSON representation

Array of the font-face element attributes, including core attributes

Awesome Lists containing this project

README

        

# all-font-face-attrs

[![NPM version](https://img.shields.io/npm/v/all-font-face-attrs.svg)](https://www.npmjs.com/package/all-font-face-attrs)
[![Bower version](https://img.shields.io/bower/v/all-font-face-attrs.svg)](https://github.com/shinnn/all-font-face-attrs/releases)
[![Build Status](https://travis-ci.org/shinnn/svg-core-attrs.svg?branch=master)](https://travis-ci.org/shinnn/svg-core-attrs)

An array of the [`font-face` element](https://www.w3.org/TR/SVG/intro.html#TermCoreAttributes) attributes, including the [SVG core attributes](http://www.w3.org/TR/SVG/intro.html#TermCoreAttributes)

```javascript
allFontFaceAttrs; //=> ['id', 'xml:base', 'xml:lang', 'xml:space', 'font-family', ... ]
```

## Installation

### Package managers

#### [npm](https://www.npmjs.com/)

```
npm install all-font-face-attrs
```

#### [Bower](http://bower.io/)

```
bower install all-font-face-attrs
```

### Standalone

[Download the script file directly](https://raw.githubusercontent.com/shinnn/all-font-face-attrs/master/all-font-face-attrs.js) and install its dependencies.

#### Dependencies

* [font-face-attrs](https://github.com/shinnn/font-face-attrs)
* [svg-core-attrs](https://github.com/shinnn/svg-core-attrs)

## API

### allFontFaceAttrs

Type: `Array` of `String`

## License

[The Unlicense](./LICENSE).