Package Exports
- taghash
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 (taghash) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
taghash
Convert plain-text hashtags into twitter-ready hyperlinks
Usage
var taghash = require('taghash');
var markup01 = taghash("Some text with #acoolhash");
//=> Some text with <a href="https://twitter.com/hashtag/acoolhash">#acoolhash</a>
var markup02 = taghash("#many #hastags");
//=> <a href="https://twitter.com/hashtag/many">#many</a> <a href="https://twitter.com/hashtag/hastags">#hastags</a>
License
MIT @ Michael Wuergler