Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shinnn/font-face-attrs
- Owner: shinnn
- License: mit
- Created: 2014-11-07T07:58:03.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-07T08:05:15.000Z (about 10 years ago)
- Last Synced: 2024-04-30T05:23:36.203Z (7 months ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).