Registry / unicorn-compiler

unicorn-compiler

JSON →
library0.3.7jsnpmunverified

Compiler for the unicorn project, version 0.3.7. No detailed documentation available; likely a small internal tool with infrequent releases. No alternative comparisons possible due to lack of context. Use with caution as stability and support are unknown.

npm install unicorn-compiler
INSTALL
IMPORT
SIG · UNICORN-COMPILER
U
unicorn-compiler
javascriptv0.3.7
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 'unicorn-compiler'
const unicorn = require('unicorn-compiler')
ESM-only package; CommonJS require not supported unless transpiled.
default
import unicornCompiler from 'unicorn-compiler'
const { default } = require('unicorn-compiler')
Default export available; CommonJS usage requires esModuleInterop.
UnicornConfig
import type { UnicornConfig } from 'unicorn-compiler'
import { UnicornConfig } from 'unicorn-compiler'
Type-only import to avoid runtime inclusion.

Basic usage of compile function with source string and options object.

// Example usage (untested due to missing docs) import { compile } from 'unicorn-compiler'; const source = '...'; // your unicorn source const result = compile(source, { // options }); console.log(result);
unicorn-compiler --version
Debug
Known issues
gotchaNo README or documentation available; API may be unstable.
fix
Check source code or contact maintainer.
affects: 0.3.7
breakingLow version number (0.x) indicates potentially breaking changes in future releases.
fix
Pin exact version and test upgrades carefully.
affects: <1.0.0
Errors
Common errors & fixes
Cannot find module 'unicorn-compiler'
Package not installed or missing in node_modules.
fix
Run 'npm install unicorn-compiler' in your project.
TypeError: unicornCompiler is not a function
Incorrect import style (default vs named).
fix
Use 'import { compile } from 'unicorn-compiler'' or 'import unicornCompiler from 'unicorn-compiler''.
Upgrade
Version history
0.3.7latest on npm
Audit
Dependencies

No dependency data recorded yet.

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