Registry / testing / muddler

muddler

JSON →
library1.5.13jsnpmunverified

A CLI tool to transpile, unit test, and minify hackmud scripts (TypeScript or JavaScript). Version 1.5.13 is the latest stable release; the project appears to be in maintenance mode with no recent updates since 2017. It uses Google's Closure Compiler for minification and Mocha for testing. Key differentiators: built specifically for hackmud, supports TypeScript, automatic file watching, and integration with hackmud's script directory.

testingdevops
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Muddler is a CLI tool, not a library. Use npx or install globally.

npx muddler src.ts

Default config file is 'muddle.json' not 'muddler.json'.

muddle.json

TypeScript is transpiled by Muddler, but requires setup.

Use .ts extension for scripts and .test.ts for tests.

Shows installation, watching directory, single file processing, and config file usage.

# Install muddler globally npm install -g muddler # Watch current directory and output minified files to hackmud scripts folder muddle -W ./src -d ~/AppData/Roaming/hackmud/1337H4x0r/scripts # Single file transpile, test, and minify muddle myScript.ts -o myScript_mud.js # Config file example (muddle.json): { "srcDir": "./src", "outDir": "./out", "watch": true, "testDir": "./tests" }
Debug
Known footguns
breakingRequires Java 7+ and Google Closure Compiler on PATH
deprecatedPackage has not been updated since 2017
gotchaConfig file defaults to 'muddle.json' (not 'muddler.json')
gotchaTemp files are created in same directory as source script
breakingMocha caching false positives before v1.5.0
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources