Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/shinnn/svg-core-attrs

An array of the SVG core attributes
https://github.com/shinnn/svg-core-attrs

Last synced: 27 days ago
JSON representation

An array of the SVG core attributes

Awesome Lists containing this project

README

        

# svg-core-attrs

[![NPM version](https://img.shields.io/npm/v/svg-core-attrs.svg)](https://www.npmjs.com/package/svg-core-attrs)
[![Bower version](https://img.shields.io/bower/v/svg-core-attrs.svg)](https://github.com/shinnn/svg-core-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 [SVG core attributes](https://www.w3.org/TR/SVG/intro.html#TermCoreAttributes)

```javascript
svgCoreAttrs; //=> ['id', 'xml:base', 'xml:lang', 'xml:space']
```

## Installation

### Package managers

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

```
npm install svg-core-attrs
```

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

```
bower install svg-core-attrs
```

### Standalone

[Download the JSON file](https://raw.githubusercontent.com/shinnn/svg-core-attrs/master/browser.js) and you can use it everywhere.

## API

### svgCoreAttrs

Type: `Array` of `String`

## License

[The Unlicense](./LICENSE)