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

@antoniocorraliza/foundry-utils

v1.26.66

Published

A high-performance, framework-agnostic TypeScript utility belt for enterprise applications. Features zero-dependency modules for deep object manipulation, secure cryptography, data validation, and advanced timing functions.

Downloads

13,848

Readme

🧰 Foundry utils

A framework-agnostic TypeScript utility library designed as the data processing core for the Foundry suite.

npm version TypeScript License Zero dependency

🌐 Overview

Foundry utils is a pure logic library designed as the data processing and validation core for the Foundry suite. Built with zero external dependencies (excluding tslib), it provides stateless utility modules optimized for bundle size, security, and runtime predictability.

⚙️ Key features & design philosophy

  • Zero dependencies: Completely self-contained to minimize bundle impact and eliminate external supply-chain vulnerabilities.

  • Full agnosticism: Operates entirely independently of browser-specific DOM APIs or UI frameworks.

  • Functional purity: Relies primarily on stateless pure functions, ensuring execution predictability and simplified testing.

  • Explicit naming: Avoids cryptic abbreviations in favor of self-documenting, readable code structures.

📦 Installation

Install the package via npm:

npm install @antoniocorraliza/foundry-utils

🧩 Architecture & ecosystem

The library is organized into static function modules categorized by operational domain:

  • FoundryApiNormalizationUtils: Handles bidirectional data transformation between backend snake_case keys (\_id) and frontend camelCase models.

  • FoundryCommonUtils: Primitives for unique ID generation, secure UUID v4 creation, random alphanumeric codes, and asynchronous execution delays (sleep).

  • FoundryCryptUtils: Lightweight data obfuscation using character-by-character hexadecimal encoding and decoding.

  • FoundryCsvUtils: Automated browser CSV export with custom column mappings and asynchronous parsing into structured JSON.

  • FoundryDateUtils: Temporal logic engine supporting interval calculations, calendar grid generation (getDaysBy), ISO week tracking, and multi-format parsing (EU, JAP, PHP).

  • FoundryDebounceUtils: Execution timing controls providing global simple debouncers and independent form input tracking via isolated dictionaries (formDebouncer).

  • FoundryFormatUtils: Formatters for currency, URL slugs, text truncation, string capitalization, and boolean normalization.

  • FoundryFormDataUtils: Payload factory converting complex object graphs into multipart FormData combining text fields and binary streams.

  • FoundryHashUtils: Cryptographic hash generators executing asynchronous sha256 and sha512 signatures via the native Web Crypto API (crypto.subtle).

  • FoundryObjectUtils: Deep manipulation engine supporting immutable structural cloning (cloneObject), deep cleaning modes, and property difference detection (getObjectDifferences).

  • FoundryValidationUtils: Mathematical and regular expression verifications including Spanish DNI/NIE modulus validation, email formats, URL structures, and password strength checks.

💻 Integration examples

For advanced use cases and fully developed code integration examples, visit the official documentation portal:

🌐 https://foundry-sandbox.vercel.app/foundry-utils

🛡️ Environment compatibility

Completely framework-agnostic, Foundry utils requires no specific version of Angular and integrates seamlessly into any modern TypeScript or JavaScript runtime (Node.js, React, Vue, Angular, or Vanilla JS).

📄 License

Property of Antonio Corraliza León as part of the Foundry development suite. All rights reserved.