dumbfuck

It's a package, dumbfuck.

Usage no npm install needed!

<script type="module">
  import dumbfuck from 'https://cdn.skypack.dev/dumbfuck';
</script>

README

dumbfuck

It's a package, dumbfuck.

Usage

var dumbfuck = require('dumbfuck');

console.log( dumbfuck(0) ); // 0
console.log( dumbfuck(1) ); // 1

// special feature: also works with non-numeric input
console.log( dumbfuck('s') ); // s

Installation

With npm do:

$ npm install dumbfuck

Contributions

Contributions are welcome, however PRs that are mostly stylistic or semantic in nature will not be accepted.

License

GPLv3