node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



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...

Build Status Dependencies Dev Dependencies ![Gitter]( 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 tag.
  • NPM: run npm install tag.
  • Git: run git clone tag.
  • Download:


  • 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.

Getting Started

  1. Fork the repository.
  2. Clone your forked version of the repository.
  3. Run npm install.
  4. Change the code.
  5. Run npm test. See the build process below for more information.
  6. Repeat from Step 4 or continue to step 7.
  7. Commit and push your changes to Github.
  8. Create a pull request on Github (ensuring that you follow the guidelines).

Directory Structure

  • src - Source code written in CoffeeScript.
  • spec - Testing code written in CoffeeScript.
  • build - Compiled source written in JavaScript.
  • docs - Documentation written in GitHub Markdown.

Build Process

You should try to ensure that npm test or gulp run without any errors before submitting a pull request.