Registry / devops / jsm-compiler

jsm-compiler

JSON →
library0.3.1jsnpmunverified

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.

npm install jsm-compiler
INSTALL
IMPORT
SIG · JSM-COMPILER
J
jsm-compiler
devopsjavascriptv0.3.1
harness data pending
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.

jsmc
npx jsm-compiler
jsmc from 'jsm-compiler'
jsm-compiler is a CLI tool, not a library. Use npx or global install.

Installs the compiler globally, creates a new project, writes a simple JSM file, and builds it.

npm install -g jsm-compiler jsmc create myproject cd myproject echo 'namespace com.example; MyClass = function() { this.x = 1; }' > src/index.jsm jsmc build
Debug
Known issues
breakingPackage is unmaintained since 2016, may not work with modern Node.js versions.
fix
Avoid using this package; consider alternatives like Babel or TypeScript.
affects: >=0.0
Errors
Common errors & fixes
Error: Cannot find module 'jsm-compiler'
Package not installed globally or locally.
fix
Run 'npm install -g jsm-compiler'
jsmc: command not found
Global install directory not in PATH.
fix
Ensure npm global binaries are in PATH, or use 'npx jsm-compiler'
Upgrade
Version history
0.3.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
jsm-compiler — npm install jsm-compiler · libregistry