svg-tags

WebJar for svg-tags

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

svg-tags
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

svg-tags
WebJar for svg-tags
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/element-io/svg-tags

Скачать svg-tags

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/svg-tags/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>svg-tags</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/svg-tags/
implementation 'org.webjars.npm:svg-tags:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/svg-tags/
implementation ("org.webjars.npm:svg-tags:1.0.0")
'org.webjars.npm:svg-tags:jar:1.0.0'
<dependency org="org.webjars.npm" name="svg-tags" rev="1.0.0">
  <artifact name="svg-tags" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='svg-tags', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "svg-tags" % "1.0.0"
[org.webjars.npm/svg-tags "1.0.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

SVG Tags

NPM version Build Status Coverage Dependencies

List of standard SVG tags.

List built from the SVG 1.1 specification.

Installation

$ npm install svg-tags --save

Usage

The module is simply a JSON array, so use as you would a normal JavaScript array.

var tags = require( 'svg-tags' );

console.log( JSON.stringify( tags ) );
/**
* Returns:
*	[ 'a', 'altGlyph', ... ]
*/

console.log( tags.indexOf( 'desc' ) );
// Returns [index]

Examples

To run the example code from the top-level application directory,

$ node ./examples/index.js

Tests

Unit

Unit tests use the Mocha test framework with Chai assertions. To run the tests, execute the following command in the top-level application directory:

$ make test

All new feature development should have corresponding unit tests to validate correct functionality.

Test Coverage

This repository uses Istanbul as its code coverage tool. To generate a test coverage report, execute the following command in the top-level application directory:

$ make test-cov

Istanbul creates a ./reports/coverage directory. To access an HTML version of the report,

$ open reports/coverage/lcov-report/index.html

License

MIT license.


Copyright

Copyright © 2014. Athan Reines.

org.webjars.npm

Element.io

Minimal DOM-like elements and associated utilities.

Версии библиотеки

Версия
1.0.0