Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

ecopages

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ecopages

CLI utilities for Ecopages

latest
Source
npmnpm
Version
0.1.105
Version published
Weekly downloads
1.4K
2.18%
Maintainers
1
Weekly downloads
 
Created
Source

ecopages

DRAFT / EXPERIMENTAL This package is currently in a draft state and is subject to significant changes.

ecopages is a CLI tool for the Ecopages framework. It provides:

  • Project scaffolding: Quickly initialize new Ecopages projects from templates using bunx ecopages init
  • Command utilities: Namespaced commands that wrap common Bun operations, automatically detecting and applying your eco.config.ts

Quick Start

Initialize a new project:

bunx ecopages init my-app
cd my-app
bun install
bun dev

CLI Utilities

Commands

CommandDescriptionBun Equivalent
ecopages init <dir>Initialize a new Ecopages projectscaffolding tool
ecopages dev [entry]Start the development serverbun run [entry] --dev
ecopages dev:watch [entry]Start with watch mode (restarts on file changes)bun --watch run [entry] --dev
ecopages dev:hot [entry]Start with hot reload (HMR without restart)bun --hot run [entry] --dev
ecopages build [entry]Build for productionbun run [entry] --build
ecopages start [entry]Start production serverbun run [entry]
ecopages preview [entry]Preview production buildbun run [entry] --preview

Note: [entry] defaults to app.ts if not provided.

Environment Overrides

All server commands (dev, dev:watch, dev:hot, start, preview) support the following options:

OptionEnvironment VariableDescription
-p, --port <port>ECOPAGES_PORTServer port (default 3000)
-n, --hostname <host>ECOPAGES_HOSTNAMEServer hostname
-b, --base-url <url>ECOPAGES_BASE_URLBase URL for the app
-d, --debugECOPAGES_LOGGER_DEBUGEnable debug logging
-r, --react-fast-refresh-Enable React Fast Refresh HMR

Example:

# Start dev server on port 8080 with debug logging
ecopages dev --port 8080 --debug

# Start dev server with React Fast Refresh
ecopages dev -r

# Start production server with custom hostname
ecopages start --hostname 0.0.0.0 --port 3001

Ecopages Packages

The Ecopages ecosystem consists of individual framework packages published to JSR. Import them directly in your project:

import { eco } from '@ecopages/core';
import { kitajsPlugin } from '@ecopages/kitajs';

Available Packages

PackageDescriptionJSR Link
@ecopages/browser-routerClient-side navigation and view transitions for Ecopages.JSR
@ecopages/bun-inline-css-pluginBun plugin to process CSS files using CSS Processors.JSR
@ecopages/bun-mdx-kitajs-loaderBun loader to load MDX files with KitaJS.JSR
@ecopages/bun-postcss-loaderBun loader to load PostCSS files.JSR
@ecopages/coreFoundational layer of the Ecopages ecosystem.JSR
@ecopages/file-systemRuntime-agnostic file system utilities (Bun/Node.js).JSR
@ecopages/image-processorImage processing library for optimized responsive images.JSR
@ecopages/kitajsKitaJS plugin for Ecopages integration.JSR
@ecopages/litLit plugin for Ecopages integration.JSR
@ecopages/mdxMDX plugin for Ecopages integration.JSR
@ecopages/postcss-processorUtility functions for processing CSS with PostCSS.JSR
@ecopages/reactReact plugin for Ecopages integration.JSR
@ecopages/react-routerClient-side SPA router for Ecopages React apps.JSR

Explore all packages at jsr.io/@ecopages.

Installation

bun add ecopages

To use Ecopages packages in your project, create a .npmrc file in the root of your project to configure JSR registry resolution:

@jsr:registry=https://npm.jsr.io

Then add the packages you need:

bun jsr add @ecopages/core @ecopages/kitajs

License

MIT

Keywords

ecopages

FAQs

Package last updated on 16 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts