API & Programmatic Use
Learn how to invoke DevsTool utility functions programmatically in your own Node.js, Deno, or browser scripts.
No Server-Side API: In alignment with our strict privacy-first model, we do not host a cloud API endpoint. We never receive your data. All calculations are executed locally on the client machine.
Local Execution
If you want to run calculations programmatically without a browser, you can extract and run the utility libraries directly from our open-source codebase.
Here is how we structure our utility exports:
// Example: Importing formatters or converters in a TypeScript project
import { formatJson } from './src/utils/json';
import { convertAsciiToHex } from './src/utils/ascii';
const rawJson = '{"name":"devstool","featured":true}';
const formatted = formatJson(rawJson, { indentSize: 2 });
console.log(formatted);
Running via CLI (Experimental)
We are building a command-line interface (CLI) to let you format, convert, and inspect files directly in your terminal using standard pipes:
# Example terminal syntax (coming soon)
cat data.json | devstool format-json --indent 2
Stay tuned! When our NPM CLI package is released, we will publish the complete command reference here.