typewise-cmp just the comparison feature of typewise and bytewise. Installation npm install typewise-cmp API cmp(a, b) → -1 | 0 | +1 compare two values.