18 Developer Tools.
One Package.
Zero Dependencies.
Encode, hash, encrypt, generate, convert — all in a single lightweight package with full TypeScript support. Works in Node.js and the browser.
$npm i toolmetryWhy Toolmetry?
Built for developers who want powerful tools without the bloat.
Zero Dependencies
No external packages. No bloat. Just pure, self-contained utility functions that work everywhere without supply chain risks.
Full TypeScript
Complete type definitions for every module. IntelliSense, type checking, and autocompletion out of the box for a seamless DX.
Node + Browser
Works in both Node.js and browser environments. Universal modules with platform-specific optimizations for each runtime.
18 Modules
Base64, URL, Hash, JWT, UUID, AES Encrypt, Random, Color, HTML Entity, Number Base, Text, JSON, Password, Morse, Roman, Cron, Diff, Lorem.
Lightweight
Minimal footprint. Import only what you need. Tree-shakeable exports keep your bundle lean and your app fast.
MIT License
Fully open source. Use it in personal projects, commercial software, or anywhere you need it. No restrictions, no worries.
About Toolmetry
Toolmetry is a modern developer utility library designed to simplify everyday backend and frontend tasks. Instead of installing multiple small packages for common operations, Toolmetry provides a single, unified toolkit with zero dependencies.
It includes 18 modular tools covering encoding, hashing, authentication, encryption, random generation, text processing, data formatting, and more. Each module is optimized for performance and works seamlessly in both Node.js and browser environments.
Built with TypeScript support and tree-shaking in mind, Toolmetry ensures that you only ship what you actually use — keeping your bundle size minimal and your application fast.
Maintained by ToolmetryAI • MIT Licensed Open Source
Quick Start
Install and start using Toolmetry in seconds.
import { base64, url, hash, jwt, uuid, color, random, encrypt } from 'toolmetry';
// Base64
const encoded = base64.encode('Hello, World!');
const decoded = base64.decode(encoded);
// UUID
const id = uuid.v4();
// Color convert
const rgb = color.hexToRgb('#3B82F6');
// URL query string
const qs = url.buildQuery({ name: 'John', page: 1 });
// Random string
const token = random.string(32);
// AES-256 Encrypt
const encrypted = await encrypt.encryptAsync('Secret msg', 'password');FAQ
Common questions about Toolmetry.
Ready to Build?
Start using toolmetry in your project today. Zero dependencies, full TypeScript support, works everywhere.