Registry / devops / zump-compiler

zump-compiler

JSON →
library1.0.13jsnpmunverified

The official compiler for ZumP, a programming language. This package compiles ZumP source code into executable output. Version 1.0.13 targets Node.js 18+. It is a specialized tool for ZumP development with limited public adoption and documentation.

npm install zump-compiler
INSTALL
IMPORT
SIG · ZUMP-COMPILER
Z
zump-compiler
devopsjavascriptv1.0.13
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.

compile
import { compile } from 'zump-compiler'
const compile = require('zump-compiler')
ESM-only package; require() will throw ERR_REQUIRE_ESM.
ZumpCompiler
import { ZumpCompiler } from 'zump-compiler'
import ZumpCompiler from 'zump-compiler'
Named export, not default.
default
import zump from 'zump-compiler'
const zump = require('zump-compiler')
Package has a default export, but only works with ESM imports.

Compiles a ZumP source file to JavaScript using the compile function, with an options object for target configuration.

import { compile } from 'zump-compiler'; import { readFileSync } from 'fs'; const source = readFileSync('example.zump', 'utf8'); try { const result = compile(source, { target: 'es2020' }); console.log(result.code); } catch (err) { console.error('Compilation failed:', err.message); }
zump --version
Debug
Known issues
breakingPackage is ESM-only (no CommonJS support). Requires Node >= 18 and "type": "module" in package.json or .mjs extension.
fix
Use ESM imports; add "type": "module" to your package.json or rename files to .mjs.
affects: >=1.0.0
gotchaNo README or documentation available; API surface is inferred from package exports.
fix
Refer to source code or contact maintainer for usage details.
affects: <=1.0.13
deprecatedOptions object may change without major version bump due to pre-1.0 status (semver considered unstable).
fix
Lock version to avoid breaking changes.
affects: >=1.0.0 <1.0.13
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module /path/to/node_modules/zump-compiler/index.js from /path/to/project/index.js not supported.
Package is ESM-only but users try to require() it from a CommonJS module.
fix
Use import() dynamic import or convert project to ESM.
TypeError: compile is not a function
Incorrect import (e.g., default import instead of named).
fix
Use `import { compile } from 'zump-compiler'`.
Upgrade
Version history
1.0.13latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
24
Amazon
1
Resources
zump-compiler — npm install zump-compiler · libregistry