1.0.1 • Published 2 years ago

new-js-utils v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Starting

to start with this package, put this in the top of you code:

const { isNumber, isOdd, Print, math } = require("new-js-utils");

or if you want just give a name to a variable and the value to require("js-utils") ex.

const utils = require("new-js-utils");

Functions info:

  • Print
    • It's like console.log but, it will make you save time in you code.
  • isOdd
    • Returns true if the number is odd and false if the number is even.
  • isNumber
    • Returns true if the value is a number or false if the value is NaN

I will add more in the future...

1.0.1

2 years ago

1.0.0

2 years ago