random-scenario

Generates a random string based on day, month and color.

Usage no npm install needed!

<script type="module">
  import randomScenario from 'https://cdn.skypack.dev/random-scenario';
</script>

README

random-scenario

Generates a random string based on day, month and color.

Installation

Use the npm package manager to install random-scenario.

npm install random-scenario

Usage

import randomScenario from 'random-scenario';

randomScenario(9,'Jan','Red') // You stole a cookie from Salman Khan ended up getting punched

Limitations

  • Numbers are valid from 1 to 31.
  • Months should be given in the format 'Jul'
  • Valid colors are Red, Orange, Yellow, Green, Blue, Purple, Pink, Black, Brown, Gray

Upcoming Updates

We are working to remove the above limitations. 2.0 will be coming soon!