Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/martpie/buzzshit
- Owner: martpie
- License: mit
- Created: 2018-04-04T07:57:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-21T15:56:09.000Z (almost 6 years ago)
- Last Synced: 2024-09-26T17:48:20.364Z (about 2 months ago)
- Topics: buzzshit, buzzword, buzzwords, javascript
- Language: JavaScript
- Homepage:
- Size: 64.5 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 :)