1.0.1 • Published 11 months ago

stringparity v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

Check string parity

This module helps you to check if two strings are of the same parity, that means are the two strings even or odd. If both are odd or even it will log True to the console, if one is odd and the other is even it will log False to the console.

Install

npm install stringparity

USAGE

// Load library
var parity = require('stringparity');

parity(string1, string2) 
This will output either true or false

Test

npm test

Changelog

Checking to see if changelog works, hence version 1.0.1

License ISC

1.0.1

11 months ago

1.0.0

11 months ago