A micro JavaScript library for creating elements, inspired by Laconic and React. Tag removes the overhead of existing templates (in regards to speed and size) whilst adding minimal sugar to the existing Document API in a trivial fashion. Read more...
![Gitter](https://badges.gitter.im/Join Chat.svg)
If you have a bug, enhancement, or question you can post it in the issues, however, please see the contribution guidelines before doing so. You may also ask questions and chat on Gitter.
Documentation can be found in the docs directory. Please see below for instructions on how to download and use tag. There are also a few Plunks that demonstrate how to use Tag below.
Please follow any of the instructions below to download tag.
- Bower: run
bower install bower-tag
. - NPM: run
npm install npm-tag
. - Git: run
git clone https://github.com/ryansmith94/tag.git tag
. - Download:
https://github.com/ryansmith94/tag/archive/develop.zip
.
- CommonJS:
var tag = require('tag');
. - AMD:
require(['tag'], function (tag) {})
. - Global:
var tag = window.tag;
.
You may contribute to this project via issues and pull requests, however, please see the contribution guidelines before doing so.
- Fork the repository.
- Clone your forked version of the repository.
- Run
npm install
. - Change the code.
- Run
npm test
. See the build process below for more information. - Repeat from Step 4 or continue to step 7.
- Commit and push your changes to Github.
- Create a pull request on Github (ensuring that you follow the guidelines).
- src - Source code written in CoffeeScript.
- spec - Testing code written in CoffeeScript.
- build - Compiled source written in JavaScript.
- docs - Documentation written in GitHub Markdown.
You should try to ensure that npm test
or gulp
run without any errors before submitting a pull request.