1.0.5 • Published 7 years ago

hashtagifier v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
7 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

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago