Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 949 Bytes

README.adoc

File metadata and controls

34 lines (22 loc) · 949 Bytes

Pkl Pantry

This is a monorepo of packages that are maintained and published by the Pkl team.

Using packages

Packages within this repository are published as package://pkg.pkl-lang.org/pkl-pantry/<NAME>@<VERSION>.

Direct imports

Modules from package can be imported directly. For example, the below line imports module toml.pkl from package pkl.toml at version 1.0.0:

import "package://pkg.pkl-lang.org/pkl-pantry/[email protected]#/toml.pkl"

In a project

If using a project, add a package as a dependency:

amends "pkl:Project"

dependencies {
  ["toml"] { uri = "package://pkg.pkl-lang.org/pkl-pantry/[email protected]" }
}

Documentation

The documentation for all packages published here can be found in our Package Docs website.