Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Array of the `font-face` element attributes
https://github.com/shinnn/font-face-attrs

Last synced: 27 days ago
JSON representation

Array of the `font-face` element attributes

Awesome Lists containing this project

README

        

# font-face-attrs

[![NPM version](https://badge.fury.io/js/font-face-attrs.svg)](https://www.npmjs.org/package/font-face-attrs)
[![Bower version](https://badge.fury.io/bo/font-face-attrs.svg)](https://github.com/shinnn/font-face-attrs/releases)
[![Build Status](https://travis-ci.org/shinnn/font-face-attrs.svg?branch=master)](https://travis-ci.org/shinnn/font-face-attrs)

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

```javascript
fontFaceAttrs; //=> ['font-family', 'font-style', 'font-variant', ... ]
```

## Installation

### Package managers

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

```sh
npm install font-face-attrs
```

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

```sh
bower install font-face-attrs
```

#### [Duo](http://duojs.org/)

```javascript
var fontFaceAttrs = require('shinnn/font-face-attrs');
```

### Standalone

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

## API

### fontFaceAttrs

Type: `Array` of `String`

## License

Copyright (c) 2014 [Shinnosuke Watanabe](https://github.com/shinnn)

Licensed under [the MIT License](./LICENSE).