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

@jetstart/core

v1.7.0

Published

Build server and orchestration for JetStart

Downloads

928

Readme

@jetstart/core

Core build server and orchestration for JetStart.

Overview

The Core package is the central hub of JetStart, responsible for:

  • 🏗️ Build Management - Compiling Kotlin/Compose projects
  • 🌐 HTTP Server - Serving APKs and REST API
  • 🔌 WebSocket Server - Real-time communication with clients
  • 📦 Build Caching - Faster incremental builds
  • 👀 File Watching - Auto-rebuild on changes
  • 🔐 Session Management - Secure device pairing

Usage

As a Library

import { JetStartServer } from '@jetstart/core';

const server = new JetStartServer({
  httpPort: 8765,
  wsPort: 8766,
  host: '0.0.0.0',
});

await server.start();

As a Standalone Server

npm run start

API Endpoints

HTTP REST API

Health Check

GET /health
Response: { status: 'ok', version: '0.1.0', uptime: 123 }

Create Session

POST /session/create
Body: { projectName: 'MyApp', projectPath: '/path/to/project' }
Response: { session: {...}, qrCode: 'data:image/png;base64,...' }

Get Session

GET /session/:sessionId
Response: { id, token, projectName, ... }

Download APK

GET /download/:sessionId/:filename
Response: APK file download

WebSocket Messages

Client → Core:

  • client:connect - Initial connection with session
  • client:status - Status update
  • client:log - Log message
  • client:heartbeat - Keep-alive ping

Core → Client:

  • core:connected - Connection confirmed
  • core:build-start - Build started
  • core:build-status - Build progress update
  • core:build-complete - Build finished
  • core:build-error - Build failed
  • core:reload - Trigger app reload

Build System

import { BuildManager } from '@jetstart/core';

const buildManager = new BuildManager();

const result = await buildManager.build({
  projectPath: '/path/to/project',
  outputPath: './build',
  buildType: 'debug',
  debuggable: true,
  minifyEnabled: false,
  versionCode: 1,
  versionName: '1.0.0',
  applicationId: 'com.example.app',
});

console.log(result.success, result.apkPath);

File Watching

import { FileWatcher } from '@jetstart/core';

const watcher = new FileWatcher('/path/to/project');

watcher.start(() => {
  console.log('Files changed, rebuilding...');
});

// Later
watcher.stop();

Environment Variables

  • PORT - HTTP server port (default: 8765)
  • WS_PORT - WebSocket server port (default: 8766)
  • HOST - Server host (default: 0.0.0.0)
  • DEBUG - Enable debug logging

License

Apache-2.0