Skip to content

brew-install-buzzwords/meme-type-npm

develop
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

meme-type-npm

a typescript package for transforming text into internet speak

Install

πŸ“¦NPM

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.

brew-install-buzzwords banner

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published