tinytoolstack
v0.1.2
Published
Tinytoolstack developer tools as a CLI and library — slugify, base64, hashes, JSON formatting, JWT decoding, UUIDs, text stats, URL encoding, dice.
Maintainers
Readme
tinytoolstack
The Tinytoolstack developer tools as a CLI and library — the same implementations that power the web app and the MCP server.
CLI
npx tinytoolstack slugify "Hello World" # hello-world
npx tinytoolstack hash_text --algorithm md5 hi
npx tinytoolstack uuid_generate --count 3
npx tinytoolstack base64 --mode decode aGVsbG8=
npx tinytoolstack list # all tools
npx tinytoolstack search "decode a jwt" # find a tool by task
npx tinytoolstack help hash_text # a tool's flagsEvery tool's flags come straight from its JSON Schema (help <tool> shows them). A single positional argument maps onto the tool's required input, so quoting is only needed for text with flags-like content. Global flags:
--input '<json>'— pass the whole input as raw JSON instead of flags.--output json— always print JSON (by default, single-value results unwrap to plain text for piping).
Library
import { convertToSlug, generateHash, HashAlgorithm, toolRegistry } from "tinytoolstack";
convertToSlug("Hello World"); // "hello-world"
generateHash("hi", HashAlgorithm.SHA256);toolRegistry exposes every tool with its MCP-style name, description, inputSchema, and run() — the same contract the Tinytoolstack MCP server advertises.
Development
This package lives in libs/tinytoolstack of the Tinytoolstack monorepo and bundles the private @tiny/shared package into dist at build time (zero runtime dependencies).
npm install
npm run build # builds ../../shared, then bundles with tsup
npm run dev -- list # run the CLI from source