2.0.0 • Published 4 years ago

@justinjunodev/clapback v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@justinjunodev/clapback

npm (scoped) npm bundle size (minified) Twitter Follow

Overview

A 👏 SASSY 👏 NPM 👏 MODULE 👏 FOR 👏 CLAPPING 👏 BACK! 👏

Pass a string and get an uppercased version of it with some claps to emphasize your point. If you'd like to use a different emoji, pass a second string with the desired character.

Installation

$ npm install @justinjunodev/clapback

Usage

import clapback from "@justinjunodev/clapback";

clapback("You can't sit with us!");
//=> "YOU👏CAN'T👏 WITH👏 US!👏"

clapback("It's so fetch", "💅");
//=> "IT'S💅SO💅FETCH.💅"

clapback(123);
//=> Uncaught TypeError: CLAPBACK👏ONLY👏WORKS👏WITH👏STRINGS!👏

Closing

I created @justinjunodev/clapback to get a better understanding of how to build/ release my own npm packages. It's silly, but if you need some extra sass in your next project, feel free to use it!