Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. SVG Tags
  2. ========
  3. [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage][coveralls-image]][coveralls-url] [![Dependencies][dependencies-image]][dependencies-url]
  4. > List of standard SVG tags.
  5. List built from the [SVG 1.1 specification](http://www.w3.org/TR/SVG/eltindex.html).
  6. ## Installation
  7. ``` bash
  8. $ npm install svg-tags --save
  9. ```
  10. ## Usage
  11. The module is simply a JSON array, so use as you would a normal JavaScript array.
  12. ``` javascript
  13. var tags = require( 'svg-tags' );
  14. console.log( JSON.stringify( tags ) );
  15. /**
  16. * Returns:
  17. * [ 'a', 'altGlyph', ... ]
  18. */
  19. console.log( tags.indexOf( 'desc' ) );
  20. // Returns [index]
  21. ```
  22. ## Examples
  23. To run the example code from the top-level application directory,
  24. ``` bash
  25. $ node ./examples/index.js
  26. ```
  27. ## Tests
  28. ### Unit
  29. Unit tests use the [Mocha](http://visionmedia.github.io/mocha) test framework with [Chai](http://chaijs.com) assertions. To run the tests, execute the following command in the top-level application directory:
  30. ``` bash
  31. $ make test
  32. ```
  33. All new feature development should have corresponding unit tests to validate correct functionality.
  34. ### Test Coverage
  35. This repository uses [Istanbul](https://github.com/gotwarlost/istanbul) as its code coverage tool. To generate a test coverage report, execute the following command in the top-level application directory:
  36. ``` bash
  37. $ make test-cov
  38. ```
  39. Istanbul creates a `./reports/coverage` directory. To access an HTML version of the report,
  40. ``` bash
  41. $ open reports/coverage/lcov-report/index.html
  42. ```
  43. ## License
  44. [MIT license](http://opensource.org/licenses/MIT).
  45. ---
  46. ## Copyright
  47. Copyright © 2014. Athan Reines.
  48. [npm-image]: http://img.shields.io/npm/v/svg-tags.svg
  49. [npm-url]: https://npmjs.org/package/svg-tags
  50. [travis-image]: http://img.shields.io/travis/element-io/svg-tags/master.svg
  51. [travis-url]: https://travis-ci.org/element-io/svg-tags
  52. [coveralls-image]: https://img.shields.io/coveralls/element-io/svg-tags/master.svg
  53. [coveralls-url]: https://coveralls.io/r/element-io/svg-tags?branch=master
  54. [dependencies-image]: http://img.shields.io/david/element-io/svg-tags.svg
  55. [dependencies-url]: https://david-dm.org/element-io/svg-tags
  56. [dev-dependencies-image]: http://img.shields.io/david/dev/element-io/svg-tags.svg
  57. [dev-dependencies-url]: https://david-dm.org/dev/element-io/svg-tags
  58. [github-issues-image]: http://img.shields.io/github/issues/element-io/svg-tags.svg
  59. [github-issues-url]: https://github.com/element-io/svg-tags/issues