npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

integer-value-checking

v1.0.0

Published

Enterprise suite aggregating 201 specialized integer equality checkers

Readme

integer-value-checking

Enterprise suite to verify equality to 10x integers.

To get actual values of integers themselves, see integer-values

Overview

integer-value-checking is a comprehensive, production-ready library that provides functions to check if a given value is equal to a specific integer. Built on a foundation of 202 rigorously tested, independently versioned packages, this solution ensures maximum stability and predictability for enterprise software systems requiring guaranteed integer value consistency.

Features

  • ✅ 202 Independent Packages: From is-eq-negative-number-one-hundred to is-eq-negative-number-zero and from is-eq-positive-number-zero to is-eq-positive-number-one-hundred ✅ 100% Test Coverage: Validated using Mocha ✅ Full TypeScript Support: Complete type definitions for enhanced IDE integration ✅ Production Tested: Battle-tested in enterprise environments requiring numerical precision

Installation

npm install integer-value-checking

All 202 packages are included as dependencies and will be automatically installed.

Usage

The library provides granular, human-readable functions to validate integer equality. This eliminates the ambiguity of loose equality checks and provides a self-documenting interface for your business logic.

const { 
  isEqPositiveNumberFortyTwo, 
  isEqNegativeNumberTen 
} = require("integer-value-checking")

const myValue = 42

if (isEqPositiveNumberFortyTwo(myValue)) {
  console.log("Value is definitively forty-two.")
}

console.log(isEqNegativeNumberTen(5)) // false

Individual Package Import

For optimized bundle sizes, import specific checkers directly:

const isEqPositiveNumberSixtySeven = require("is-eq-positive-number-sixty-seven")

console.log(isEqPositiveNumberSixtySeven(60 + 7)) // true

TypeScript Usage

The package includes full type definitions. Functions accept any to ensure safe comparison against untrusted input, returning a type-guarded boolean.

import { isEqPositiveNumberZero } from "integer-value-checking"

const checkValue = (input: unknown): void => {
  if (isEqPositiveNumberZero(input)) {
    // input is now contextually handled as 0
    console.log("Zero detected")
  }
}

0 and -0 Distinction

integer-value-checking distinguishes between 0 and -0, unlike ===:

const { isEqNegativeNumberZero } = require("integer-value-checking")

console.log(0 === -0) // true
console.log(isEqNegativeNumberZero(0)) // false
console.log(isEqNegativeNumberZero(-0)) // true

Main Architecture

The library follows a hub-and-spoke model where the main integer-value-checking repository aggregates all individual integer packages:

packages/
├── is-eq-negative-number-one-hundred
├── ...
├── is-eq-negative-number-one
├── is-eq-negative-number-zero
├── is-eq-positive-number-zero
├── is-eq-positive-number-one
├── ...
├── is-eq-positive-number-one-hundred
index.js
index.d.ts
test/
|── index.test.js

Tests

integer-value-checking proudly has 100% test coverage. Clone the repository and run npm test to see the tests pass with flying colors (this speech does not condone racism of any kind).

License

This project is licenced under the Enterprise General Public Software License 10x Version 1.0 (EGPSL10X-1.0). See the LICENCE file for complete terms.