Docs Learn Packages Playground Blog
Install Try Online
Community

ILMA Packages

Browse community-built packages. Install any package with a single command. Build something great and publish it for others to use.

Contribute

How to Publish a Package

Share your ILMA code with the community in a few simple steps.

1

Create your package

Write your ILMA code and create a package.json manifest file in the root directory.

json — package.json
{
  "name": "my-package",
  "version": "1.0.0",
  "description": "A useful ILMA package",
  "main": "index.ilma",
  "author": "your-name",
  "license": "MIT",
  "tags": ["utility", "math"]
}
2

Test your package

Write tests and run ilma test to make sure everything works.

bash
ilma test
3

Publish to the registry

Run ilma publish from your package directory. You'll need a GitHub account for authentication.

bash
ilma publish

Tip: Publish your package source code on GitHub and open a pull request to github.com/raihan-js/ilma to add it to the official registry.