npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@antjs.org/colony

v0.0.1

Published

Deploy Ant apps to ants.page (console.antjs.org)

Readme

Colony

Colony is the command-line deployment tool for Ant applications hosted on ants.page. It bundles an application locally, uploads it through console.antjs.org, and manages the hosted project described by colony.toml.

Colony can deploy script-only applications or applications with static assets. Deployments may also include environment variables, KV and SQL bindings, SQL migrations, placement settings, and observability configuration.

Quick start

Authorize the CLI, initialize a project, and deploy it:

colony login
colony init my-app
colony deploy

colony init creates a colony.toml in the current directory. By default, Colony bundles server.js and deploys the application to https://my-app.ants.page.

If the project has package dependencies but no node_modules directory, colony deploy installs them with Antland before building. The application is bundled with Rolldown, then uploaded along with any configured assets and migrations.

Configuration

A complete colony.toml can look like this:

name = "my-app"
main = "server.js"
placement = "default"

[observability]
enabled = true

[vars]
GREETING = "hello"

[[kv]]
binding = "CACHE"
id = "kv_example"

[[sql]]
binding = "DB"
id = "sql_example"
migrations_dir = "schema"

[assets]
directory = "./dist"
not_found_handling = "single-page-application"
start_ant = ["/api/*"]

The main settings are:

| Setting | Description | | --------------------------- | ------------------------------------------------------------------------------------------------------------ | | name | Project name and the <name>.ants.page hostname. Required. | | main | Application entrypoint. Defaults to server.js. | | placement | Deployment placement. Defaults to default. | | observability.enabled | Enables observability for the deployment. | | vars | String values exposed to the application as environment variables. | | kv | KV resources exposed as env.<binding>. | | sql | SQL resources exposed as env.<binding>. | | sql.migrations_dir | Directory of .sql migrations, applied in filename order. | | assets.directory | Directory of static files to upload. Defaults to ./dist. | | assets.not_found_handling | Set to single-page-application for SPA fallback behavior. | | assets.start_ant | Routes requests to the Ant application. Use true for all requests or a list of globs such as ["/api/*"]. |

KV and SQL resources are referenced by stable IDs. An optional name can be provided on a binding as resource metadata. The assets binding defaults to ASSETS and can be changed with assets.binding.

Filesystem and subprocess modules (fs, fs/promises, and child_process) are not available on ants.page and are rejected while bundling.

Commands

| Command | Description | | ---------------------- | ------------------------------------------------------------------------------------------ | | colony login | Authorize the device and save a deployment token. | | colony logout | Remove the saved deployment token. | | colony whoami | Show the current account. | | colony init [name] | Create colony.toml in the current directory. | | colony deploy | Build and deploy the current project. | | colony list | List projects. Alias: ls. | | colony delete [name] | Delete a project. Alias: rm. If no name is given, Colony uses the current colony.toml. |

Interactive login stores credentials in ~/.colony/config.json. For CI and other non-interactive environments, set COLONY_TOKEN instead:

COLONY_TOKEN="$COLONY_TOKEN" colony deploy