find-hashtags
Advanced tools
Weekly downloads
Readme
Get an array of hashtags extracted from a string.
var findHashtags = require('find-hashtags');
console.log(findHashtags('This #text contains a number of #useful hashtags'));
// ['text', 'useful']
The function returns an array containing the hashtags found within a string. It only matches letters and numbers as components of a hashtag.
FAQs
Extracts the hashtags from a string
The npm package find-hashtags receives a total of 763 weekly downloads. As such, find-hashtags popularity was classified as not popular.
We found that find-hashtags demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.