is-computer-on-fire

1.0.0 • Public • Published

is-computer-on-fire

Adds various helpful functions to assert the state of the machine before performing any heavy tasks.

npm install is-computer-on-fire

const isComputerOnFire = require("is-computer-on-fire");
 
console.log(isComputerOnFire.isComputerOn()); // true (unless your computer is off)
isComputerOnFire.assertComputerIsOn(); // no exception (unless your computer is off)
console.log(isComputerOnFire.isComputerOnFire()); // false (unless your computer is burning)
isComputerOnFire.assertComputerIsNotOnFire(); // no exception (unless your computer is burning)

This project is licensed under the MIT License, which you may review at https://github.com/timmyRS/is-computer-on-fire/blob/master/LICENSE

Do not redistribute this code without this copyright license or our team of highly skilled lawyers will find you and they will kill you.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i is-computer-on-fire

      Weekly Downloads

      0

      Version

      1.0.0

      License

      MIT

      Unpacked Size

      4.85 kB

      Total Files

      5

      Last publish

      Collaborators

      • timmyrs