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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@utilify/core

v1.0.0

Published

The complete library, bundling all utilities into a single package.

Downloads

53

Readme

Core Package

The @utilify/core package brings together all the functionalities of the Utilify library into a single package. It offers a collection of essential utility functions for JavaScript and TypeScript development, focusing on type safety, minimalistic design, and optimized performance. The library is designed to be modular, allowing easy import and use of functions as needed without overloading your project with unnecessary dependencies.


Features

  • Type Safety: The functions are strongly typed, improving the development experience and reducing the chance of errors.
  • Minimalistic Design: The code is simple and straightforward, making it easy to understand and maintain.
  • Tree Shaking Support: Only the functions you use are included in the final bundle, which helps reduce the code size.
  • Modularity: The library is divided into various logical categories, such as array, object, string, and function manipulation, so you can import only what you need.
  • Easy Installation and Use: Simple installation via npm, yarn, or pnpm, with support for ESM and CommonJS.
  • Comprehensive Documentation: Extensive and well-structured documentation, with usage examples for all functions.

Installation

Install the @utilify/core package using your preferred package manager:

npm

npm install @utilify/core

Yarn

yarn add @utilify/core

pnpm

pnpm add @utilify/core

Importing

The package provides a centralized interface for importing functions. You can import specific functions as needed:

ESM

import { clone, deepClone, deepMerge } from '@utilify/core';

CommonJS

const { clone, deepClone, deepMerge } = require('@utilify/core');

Overview

The @utilify/core package includes functions from various categories, making it easy to work with common data types in software development. The main categories are:

  • Array: Functions for manipulating arrays, such as filtering, transforming, and searching.
  • Browser: Functions specific to browser environments, such as device detection and event handling.
  • Colors: Functions for working with colors, such as conversion and manipulation of color values.
  • Crypto: Cryptographic functions, including hashing and UUID generation.
  • Date: Functions for working with dates and times, such as formatting and comparison.
  • Environment: Functions for interacting with the runtime environment, such as environment variables and platform detection.
  • Function: Functions for manipulating and controlling functions, such as debouncing, throttling, and memoization.
  • Math: Mathematical utility functions, such as distance calculation and number manipulation.
  • Object: Functions for manipulating objects, such as cloning, merging, and deep comparison.
  • Regex: Functions for pattern matching and validation with regular expressions.
  • String: Functions for manipulating strings, such as formatting, word counting, and case transformation.
  • Types: Functions for checking and transforming types, such as primitive type validation.

References

Each function and category in the @utilify/core package has complete documentation, including detailed explanations and usage examples. For further details, refer to the documentation of each function or explore the respective category.