hashtagfy2
Convert any text to #hashtag. This fork of hashtagfy replace string template with string concatenation.
Installation
npm install --save hashtagfy2
How to use
const hashtagfy = const hashtag1 = ;// hashtag1 == '#AnyText' const hashtag2 = ;// hashtag2 == '#SimilarTextMore' const hashtag3 = ;// hashtag3 == '#andthelast'
NOTE: The capitalize
option is optional. Is true
by default.