Registry / serialization / lvskripts

lvskripts

JSON →
library1.3.0jsnpmunverified

LVskripts is a transpiler that converts code from a Latvian-language JavaScript syntax (LVskripts) to regular JavaScript, enabling programmers to write JavaScript using Latvian keywords (e.g., 'konstante' for 'const', 'ja' for 'if', 'printēt' for 'console.log'). Version 1.3.0 is the latest stable release; the library is in active development with a focus on educational/novelty use rather than production. It provides both Latvian-to-JS and JS-to-Latvian transpilation via a CLI tool. The package does not expose a programmatic API.

npm install lvskripts
INSTALL
IMPORT
SIG · LVSKRIPTS
L
lvskripts
serializationjavascriptv1.3.0
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.

default
import lvskripts from 'lvskripts'
const lvskripts = require('lvskripts')
The package is primarily a CLI tool; programmatic API is not documented. ESM import may not work as expected.

Shows how to install the CLI globally and use two main commands: transpile Latvian JS to JS and reverse.

// Install globally npm install -g lvskripts // Create a test file 'hello.lv' with Latvian JS: // konstante x = 10 // ja (x > 5) { printēt("Liels") } // Transpile to JavaScript: lvskripts -kompilet hello.lv // Or use short flag: lvskripts -k hello.lv // Reverse transpile from JS to Latvian: lvskripts -otradi hello.js
lvskripts --version
Debug
Known issues
gotchaThe package is a CLI tool with no documented programmatic API. Importing it as a Node module may result in unexpected behavior or errors.
fix
Use as a CLI only; run via 'lvskripts' command. For programmatic use, consider forking or using child_process.
affects: >=1.0.0
gotchaCLI flags are in Latvian (e.g., -kompilet, -otradi); not translated to English. Use -h or --help to see available flags.
fix
Run 'lvskripts --help' for usage information in Latvian.
affects: >=1.0.0
breakingNo versioning guarantees; breaking changes may occur in minor/patch releases. Review changelog before upgrading.
fix
Pin exact version in production or rely on CLI behavior.
affects: >=1.0.0
Errors
Common errors & fixes
lvskripts: command not found
Package not installed globally or not in PATH.
fix
Run 'npm install -g lvskripts' and ensure npm global bin is in PATH.
Unexpected token: konstante
Attempting to run .lv file directly with Node without transpiling.
fix
Transpile first using 'lvskripts -k input.lv' to generate JavaScript, then run with Node.
Error: Cannot find module 'lvskripts'
Importing the package in code without global install or local node_modules.
fix
Install locally: 'npm install lvskripts' or use CLI globally.
Upgrade
Version history
1.3.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
lvskripts — npm install lvskripts · libregistry