Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/martpie/buzzshit

Replace any bullshit words in a string by something more realistic
https://github.com/martpie/buzzshit

buzzshit buzzword buzzwords javascript

Last synced: 15 days ago
JSON representation

Replace any bullshit words in a string by something more realistic

Awesome Lists containing this project

README

        

# Buzzshit

Buzzshit is a small JavaScript library to replace any bullshit words in a string by something more realistic.

(not so) Proudly brought to you by [your servant](https://pierrevanmart.com) and [Simon KΓΌmin](https://simonkuemin.ch/).

## What is a bullshit word?

> It is something that no one truly understands, not even nerds, but it still used by marketing guys to sell things nobody can do.

Another definition could be:

> Any word that makes no sense in a LinkedIn post.

## Usage

```
buzzshit(input[, replacement])
```

#### Parameters

`input`

A string as-if provided by your average business manager.

`replacement` (optional)

Whatever you would like buzzwords to be replaced with.

#### Return value

The string as it should have been from the beginning.

## Examples

``` JavaScript
import buzzshit from 'buzzshit';

buzzshit('We at [company name] love blockchain!');
// -> "We at [company name] love πŸ’©!"
//
buzzshit('I decided to do a digital detox before our disruptive ICO :)');
// -> "I decided to do a πŸ’© before our πŸ’© πŸ’© :)"

buzzshit('Our engineers are working on state-of-the-art machine learning algorithms.', 'BULLSHIT');
// -> "Our engineers are working on state-of-the-art BULLSHIT algorithms."
```

### Contribute

Feel free to open a PR to add more _~~shitwords~~_ buzzwords :)