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

@jelou/cli

v0.2.10

Published

Jelou Functions CLI — deploy serverless TypeScript functions to the edge

Readme

@jelou/cli

Command-line tool for Jelou Functions — serverless TypeScript functions on the edge.

One define() call gives you:

  • An HTTP endpoint with Zod validation and CORS
  • An MCP tool discoverable by AI agents
  • Cron schedules for recurring tasks

Use it to build webhook handlers, chatbot integrations, scheduled cleanups, API proxies, and AI agent tools.

Install

# npm (recommended)
npm install -g @jelou/cli

# npx (no install)
npx @jelou/cli deploy

# Deno
deno install -A -n jelou jsr:@jelou/cli

Verify the installation:

jelou --version

Quick Start

# Authenticate
jelou login

# Create a new function
mkdir my-function && cd my-function
jelou init

# Start local dev server with hot reload
jelou dev
# → http://localhost:3000

# Deploy to production
jelou deploy
# → https://my-function.fn.jelou.ai

Commands

| Group | Command | Description | | ------------ | ------------------- | ----------------------------------- | | Auth | jelou login | Authenticate with your access token | | | jelou logout | Remove stored credentials | | | jelou whoami | Show current identity and scopes | | | jelou auth list | List saved profiles | | | jelou auth switch | Switch active profile | | | jelou auth remove | Remove a saved profile | | Workflow | jelou init | Scaffold a new function project | | | jelou dev | Local dev server with hot reload | | | jelou deploy | Deploy to production | | | jelou rollback | Roll back to a previous deployment | | | jelou logs | Stream or fetch function logs | | Manage | jelou deployments | List, inspect, download deployments | | | jelou functions | List, create, delete functions | | | jelou secrets | Manage environment secrets | | | jelou tokens | Manage access tokens | | | jelou cron | View cron schedules | | Setup | jelou skill | Install Jelou Functions agent skill |

Run jelou <command> --help for flags and usage details.

Profiles

Multiple accounts (or environments) can coexist as named profiles. No more logging in and out when switching between staging and production.

# First login creates a profile (you pick the name)
jelou login
# → Profile name: production

# Add a second account
jelou login --token <staging-token> --profile staging

# List profiles
jelou auth list
#   Profile     Identity       Type  Active
#   production  token "prod"   PAT   ✓
#   staging     jelou:42       API Key

# Switch active profile
jelou auth switch staging

# One-shot override (does not change active profile)
jelou deploy --profile production

# Remove a profile
jelou auth remove staging

Credential Resolution

When resolving which credentials to use, the CLI checks (highest priority first):

  1. JELOU_TOKEN environment variable
  2. --profile <name> flag (one-shot, does not persist)
  3. JELOU_PROFILE environment variable
  4. activeProfile in ~/.jelou/credentials.json

Migration from Single-Account

Existing ~/.jelou/credentials.json files are automatically migrated to the multi-profile format on first access. A .bak backup is created. No action required.

CI / Non-Interactive Mode

Every command works headlessly in CI pipelines.

export JELOU_TOKEN=jfn_pat_your_token_here

jelou deploy --no-confirm --json | jq '.data.url'
  • --no-input disables all prompts (auto-detected when CI=true or stdin is not a TTY)
  • --json outputs { "ok": true, "data": ... } to stdout

See the full CI reference for per-command flags and GitHub Actions examples.

Configuration

| Source | Purpose | | --------------- | --------------------------------------------------- | | jelou.json | Project config (function slug, entrypoint) | | ~/.jelou/ | User credentials (multi-profile) and API URL | | JELOU_TOKEN | Access token (highest priority, overrides profiles) | | JELOU_PROFILE | Select a named profile without --profile flag | | JELOU_API_URL | API base URL override |

See the full configuration reference for details.

Documentation

  • CLI Reference — full command docs, flags, CI usage, troubleshooting
  • SDK Guidedefine() API, context, validation, testing

License

Copyright 2026 Jelou Inc. All rights reserved.

See LICENSE for details.