wrap-with-rainbows

This package will take any string you give it and wrap it with rainbow emoji 🌈

Usage no npm install needed!

<script type="module">
  import wrapWithRainbows from 'https://cdn.skypack.dev/wrap-with-rainbows';
</script>

README

🌈🌈 Wrap with Rainbows 🌈🌈

Installation

npm i wrap-with-rainbows

Usage

Parameters

  1. String (required) - The string to wrap with rainbows.
  2. Number of Rainbows - The number of rainbows to wrap the string with. The default is 3.
const addRainbows = require('wrap-with-rainbows');
const str = "I need more rainbows.";
const output = addRainbows(str, 5); // "🌈🌈🌈🌈🌈I need more rainbows.🌈🌈🌈🌈🌈"
~~