meme-type-npm
a typescript package for transforming text into internet speak
Install
npm i --save meme-type-npm
Usage
> import { altCapify, spaceify, clapify, emojify, l33t1fy, smashify, L33t1fySubstitution } from 'meme-type-npm';
> const sampleInput = 'this is test input';
> clapify(sampleInput);
THIS π IS π TEST π INPUT
> clapify(sampleInput, { fitzpatrick: 'πΎ' });
THIS ππΎ IS ππΎ TEST ππΎ INPUT
> spaceify(sampleInput);
t h i s i s t e s t i n p u t
> altCapify(sampleInput);
tHiS Is tEsT InPuT
> emojify(sampleInput);
this ππ is πππ test π input π
> emojify(sampleInput, { fitzpatrick: 'π»' });
this ππ»ββοΈππ»ββοΈππ»ββοΈ is test β input π
> l33t1fy(sampleInput, { substitutionType: 'numbers' });
th15 15 t35t 1n9ut
> smashify(sampleInput);
ajdf aj sjaj akfld
Examples
For example usage, see the angular app meme-type. The Github repository for meme-type is located here. For more info, see this blog post.
Build
npm run build
Bugs reports and contributions
If you find a bug with this package or would like to suggest a feature, please submit the issue here.
This project is open to pull requests from the public. Please wait for feedback on the issue you want to contribute to before creating your pull request.
Author
This package was created by Adam Davis, founder of the programming blog brew install buzzwords.