{"id":25807,"library":"jsm-compiler","title":"jsm-compiler","description":"A JavaScript module compiler that enables namespaces and templates for creating basic JavaScript applications. Version 0.3.1 is the last release, with no updates since 2016. It compiles files with custom syntax (namespaces, templates, classes) into plain JavaScript. Key differentiators include automatic namespace generation and template embedding. However, the project is effectively abandoned with no maintenance, making it unsuitable for production use.","status":"abandoned","version":"0.3.1","language":"javascript","source_language":"en","source_url":"https://github.com/hendrik-weiler/jsm","tags":["javascript","compiler","modular"],"install":[{"cmd":"npm install jsm-compiler","lang":"bash","label":"npm"},{"cmd":"yarn add jsm-compiler","lang":"bash","label":"yarn"},{"cmd":"pnpm add jsm-compiler","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"jsm-compiler is a CLI tool, not a library. Use npx or global install.","wrong":"jsmc from 'jsm-compiler'","symbol":"jsmc","correct":"npx jsm-compiler"}],"quickstart":{"code":"npm install -g jsm-compiler\njsmc create myproject\ncd myproject\necho 'namespace com.example;\nMyClass = function() { this.x = 1; }' > src/index.jsm\njsmc build","lang":"javascript","description":"Installs the compiler globally, creates a new project, writes a simple JSM file, and builds it."},"warnings":[{"fix":"Avoid using this package; consider alternatives like Babel or TypeScript.","message":"Package is unmaintained since 2016, may not work with modern Node.js versions.","severity":"breaking","affected_versions":">=0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'npm install -g jsm-compiler'","cause":"Package not installed globally or locally.","error":"Error: Cannot find module 'jsm-compiler'"},{"fix":"Ensure npm global binaries are in PATH, or use 'npx jsm-compiler'","cause":"Global install directory not in PATH.","error":"jsmc: command not found"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}