fuck-shit-up
Adds "fuck" to sentences.
Last updated 4 years ago by jimkang .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install fuck-shit-up 
SYNC missed versions from official npm registry.

fuck-shit-up

Adds "fuck" to sentences.

Installation

npm install fuck-shit-up

Or for command-line usage:

[sudo] npm install -g fuck-shit-up

Usage

var fuckShitUp = createFuckShitUp();

fuckShitUp('The rain in Spain stays mainly in the plain.', displayResult);

function displayResult(error, result) {
  if (error) {
    console.log(error);
  }
  console.log(result);
}

Output:

The fucking rain in fucking Spain stays the fuck mainly in the fucking plain.

Alternative modifiers

You can specify opts to createFuckShitUp to use alternative modifiers (e.g. 'goddamn', 'sodding'):

var fuckShitUp = createFuckShitUp({
  useAlternativeModifiers: true
});

Include vulgarities:

var fuckShitUp = createFuckShitUp({
  useAlternativeModifiers: true,
  vulgar: true
});

Command line:

fsu "The rain in Spain stays mainly in the plain."

or piped input (use dash -):

echo "The rain in Spain stays mainly in the plain." | fsu -

With vulgarity:

fsu "The rain in Spain stays mainly in the plain." --vulgar

Tests

Run tests with make test.

License

MIT.

Current Tags

  • 1.3.0                                ...           latest (4 years ago)

11 Versions

  • 1.3.0                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.2                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.5                                ...           5 years ago
  • 1.0.4                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (9)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |