find-hashtags

1.0.1 • Public • Published

Detect Hashtags

Travis CI Test Status

Get an array of hashtags extracted from a string.

Usage

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    235
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    235
  • 1.0.0
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i find-hashtags

Weekly Downloads

237

Version

1.0.1

License

BSD-3

Last publish

Collaborators

  • connrs