xou-utils

Utils for xou

Usage no npm install needed!

<script type="module">
  import xouUtils from 'https://cdn.skypack.dev/xou-utils';
</script>

README

XOU-UTILS

A collection of helper-utils for xou.

Install

$ npm install xou-utils

Usage

const utils = require('xou-utils');

SVG Tags

const svgTags = utils.svgTags;
// =>  'svg', 'altGlyph', 'altGlyphDef', 'altGlyphItem', 'animate', ...

Bool Props

const boolProps = utils.boolProps;
// =>  'autofocus', 'checked', 'defaultchecked', 'disabled', ...

License

MIT © Tobias Herber