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

@kayooliveira/today-js

v2026.1.21

Published

A package updated every single day to tell you what day it is.

Readme

Today

Build Status Coverage License Uptime Maintenance

The industry-standard chronological state management solution for distributed enterprise applications.


Overview

In the fast-paced world of modern software development, determining "what day is it" is a non-trivial problem often plagued by timezone inconsistencies, clock skew, and non-deterministic runtime evaluations.

Today solves this by providing a single, immutable source of truth for the current date. It leverages a sophisticated Cron-Based Continuous Temporal Integration (CB-CTI) pipeline to ensure that your application's concept of "today" is synchronized globally, regardless of server location or client configuration.

Key Features

  • 🚀 Zero-Latency Temporal Resolution: By pre-computing the date during the build phase, today eliminates the runtime overhead associated with the instantiation of Date objects.
  • 🛡️ Deterministic State: The date is hard-coded into the package distribution. This guarantees that every instance of your application running a specific version of today agrees on exactly what day it is.
  • 🔒 Immutable Audit Trail: Every date change is cryptographically signed and stored in the version control history, providing full audibility for compliance-heavy industries (FinTech, HealthTech).
  • 📦 SemVer-Compatible Chronology: We utilize a proprietary versioning strategy (YYYY.M.D) that aligns software lifecycle management directly with the Gregorian calendar.
  • ☁️ Cloud Agnostic: Runs everywhere. AWS Lambda, Azure Functions, Google Cloud Run, or your on-premise Kubernetes cluster. today is ubiquitous.

Installation

Integrate today into your enterprise ecosystem via NPM:

npm install @kayooliveira/today-js

Note: Due to high demand/namespace collision, ensure you are installing the correct package or alias it in your private registry.

Usage

Basic Implementation

import today from '@kayooliveira/today-js';

// Synchronous, non-blocking retrieval of the temporal state
const currentDate = today();

console.log(`System Status: Operational. Current Temporal Coordinate: ${currentDate}`);

Enterprise Pattern (Dependency Injection)

class TimeService {
  constructor(dateProvider) {
    this.dateProvider = dateProvider;
  }

  getAuditLogTimestamp() {
    // Guaranteed consistency across microservices
    return this.dateProvider();
  }
}

const service = new TimeService(require('today'));

Architecture

The today ecosystem is built on a robust Event-Driven Architecture:

  1. Temporal Trigger: A UTC-aligned chronometer fires a signal at 00:00:00Z.
  2. State Rehydration: The Automated Maintainer Bot wakes up, calculates the new temporal vector, and injects it into the data.json persistence layer.
  3. Atomic Release: A new patch version is synthesized, tagged, and published to the global registry immediately.
graph LR
    A[Time Itself] -->|Trigger| B(GitHub Actions)
    B -->|Compute| C{Is it tomorrow?}
    C -->|Yes| D[Update State]
    D -->|Commit| E[Git Repository]
    E -->|Publish| F[NPM Registry]
    F -->|Depend| G[Your Production App]

Security & Compliance

  • No Runtime Dependencies: Reduces attack surface area to near zero.
  • Static Analysis Friendly: Since the date is a string literal, it can be easily parsed by security auditing tools.

Contributing

We welcome contributions from the community. Please ensure all Pull Requests are aligned with linear time progression. Backwards time travel PRs will be rejected.

License

ISC © 2025 - Present.