JSPM

hashtag-generator

1.0.2-alpha
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q39685F
  • License ISC

simple hashtag generator

Package Exports

  • hashtag-generator

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 (hashtag-generator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Hashtag Generator

Converts strings to hashtag;

Requirements: String must be not empty. String length up to 140 characters.

Examples:

const hashtagGenerator = require('hashtag-generator');

hashtagGenerator(' string to hashtag') => '#StringToHashtag'
hashtagGenerator('    Hello     World   ') =>  "#HelloWorld"
hashtagGenerator('') =>  false