Package Exports
- html-tag
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (html-tag) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
html-tag 
Generate HTML tags from JSON.
This is based on the html_tag utility in Hexo.
Install
Install with npm:
npm i html-tag --save-devUsage
tag ( name, attrs, text )
Create a snippet of HTML.
Examples:
tag('a', {href: 'http://www.google.com'}, 'Google');
tag('img', {src: 'foo.jpg'});yields:
<a href="http://www.google.com">Google</a>
<img src="foo.jpg">tag{String}: The tag to create.attrs{Object}: Optional attributestext{String}: Optional textreturn{String} HTML
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert, contributors.
Copyright (c) 2012 Tommy Chen
Released under the MIT license
This file was generated by verb-cli on August 21, 2014.