1.0.5 • Published 5 years ago

hashtagifier v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Hashtagifier

NPM package that takes text and turns it into a hashtag.

This is really just an exercise in creating an NPM package.

Set up

npm i hashtagifier

Use

Takes a string, strips it of non-alphanumeric characters and returns a hashtag.

const hashtagifier = require('hashtagifier');

hashtagifier('fizz buzz');
// should return '#fizzbuzz'

hashtagifier(12345678910);
// should throw "Parameter is not a string!"

Author

Ezra Mizrahi

Check it out here.

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago