This library is in flux. APIs may change without notice. Generated from source with koruc 0.1.7 on 8/19/2026.

Package

~import std/package

package.kz - Package manager integration for Koru

package.kz · 5 tors · ~[comptime]

package.kz - Package manager integration for Koru · 22 more lines
package.kz - Package manager integration for Koru This module provides events for declaring Koru package dependencies distributed via various package managers (npm, cargo, go, pip). NOTE: These are for importing KORU PACKAGES that happen to be distributed through these package managers, not for importing native JS/Rust/Go/Python code directly into Koru. Usage: std/package:requires.npm { "@korulang/sqlite3": "^0.0.1", "@koru/graphics": "^1.0.0" } Then run: koruc main.kz i Or: koruc main.kz install This will: 1. Collect all package:requires.npm invocations from your code 2. Generate package.json 3. Run npm install

install

comptimecommand koru_std/package.kz:39

requires.npm

comptimenorun koru_std/package.kz:137

requires.cargo

comptimenorun koru_std/package.kz:145

requires.go

comptimenorun koru_std/package.kz:152

requires.pip

comptimenorun koru_std/package.kz:159