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

@azodik/utils

v0.0.2

Published

A collection of utility functions for the Azodik platform, providing helpful tools for common development tasks including random generation, string manipulation, date handling, pagination, web hashing, and tag management.

Downloads

8

Readme

@azodik/utils

A collection of utility functions for the Azodik platform, providing helpful tools for common development tasks including random generation, string manipulation, date handling, pagination, web hashing, and tag management.

Installation

npm install @azodik/utils
# or
pnpm add @azodik/utils
# or
yarn add @azodik/utils

Features

Random Utilities

  • Generate random strings, numbers, and OTPs
  • Select random values from arrays with optional weighting

String Utilities

  • Case conversion (uppercase, lowercase, title case)
  • String capitalization helpers

Date Utilities

  • Date range calculations using Luxon
  • Month start/end date helpers

Web Utilities

  • Web hash generation and management

Tag Management

  • Tag-related utility functions

Pagination

  • Pagination helper functions

Usage

import { 
  generateRandomString, 
  capitalizeFirstLetter, 
  getDateRange,
  generateRandomOTP 
} from '@azodik/utils';

// Generate random values
const randomString = generateRandomString(10);
const otp = generateRandomOTP(6);

// String manipulation
const capitalized = capitalizeFirstLetter('hello world');

// Date handling
const monthRange = getDateRange({ start_date: undefined, end_date: undefined });

Development

This package uses changesets for versioning and publishing.

Available Scripts

  • pnpm build - Build the package
  • pnpm dev - Build in watch mode
  • pnpm clean - Clean the dist folder
  • pnpm changeset - Create a new changeset
  • pnpm version - Version packages based on changesets
  • pnpm publish:changeset - Publish packages to npm

Workflow

  1. Make changes to your code
  2. Create a changeset: pnpm changeset
    • Select the type of change (patch, minor, major)
    • Write a description of the changes
  3. Build the package: pnpm build
  4. Version and publish:
    • pnpm version - This will update versions and create git tags
    • pnpm publish:changeset - This will publish to npm

License

MIT