1.2.1 • Published 7 years ago

nofun v1.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

noFun (.js)

(Now with 100% code coverage!)

The essential package for identifying the absence of fun.

Have you ever wondered, "Who is no fun" ? npm install nofun, and find out..

Where will noFun run?

noFun will find the absence of fun in almost any form. for example:

let nofun = require('nofun');

// prints true
console.log(nofun.isFun('Timbrook'));

// prints false
console.log(nofun.isFun('Kayla'));

noFun will also find a lack of fun in your arrays, built into your arrays as soon as you require noFun...

let nofun = require('nofun');

// prints true
console.log( ['Timbrook'].hasFun() );

// prints false
console.log( ['Kayla'].hasFun() );

noFun even recursively latches onto your Objects, so if fun is missing in any nesting of Arrays and Objects, noFun will find it...

let nofun = require('nofun');
let swag = {timbrook: 'is fun'};
let meme = {hasNoFun: ['has', 'to', 'be', 'kayla']};

// prints true
console.log(swag.hasFun());

// prints false
console.log(meme.hasFun());

Development

  • git clone
  • npm i
  • Sources are in index.js.
  • Tests are in test.js. Run tests with npm test

More coming soon!

1.2.1

7 years ago

1.2.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago