bleetify

1.0.3 • Public • Published

Bleetify

License: GPL v3 Build Status

Have you ever wanted to have the ability to randomly bleet like a goat? No? Well that's why i've made bleetify! For all your goating needs, baa.

Install

$ npm install bleetify

Testing

Testing is done with:

This is simply because all very easy to use and hyper obvious. Also lab and code are basically mocha and chai, wait why don't we just use mo-

$ npm ci
$ npm test

Usage

  const Bleetify = require('bleetify');
  
  const sentence = 'Wow what an awesome sentence!';
  const bleet = Bleetify.bleet(sentence, 100);
  console.log(bleet);

Functions

List of the functions available to you if you install this illustrious npm package.

Bleetify.bleet(message, threshold (optional))

Bleetify.bleet('A message to bleet :o', 30) // returns 'A message to bleet :o' with a 30% chance of having baa
                                            // at the start or the end. Whether they are at the start or the end
                                            // is dictated by a coinflip. Threshold defaults to 20%.

Package Sidebar

Install

npm i bleetify

Weekly Downloads

2

Version

1.0.3

License

GPL-3.0-or-later

Unpacked Size

43.2 kB

Total Files

7

Last publish

Collaborators

  • remibutler