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

create-milost-app

v3.1.15

Published

Create MiLost apps with WASM and SharedArrayBuffer support out of the box

Readme

create-milost-app

Create MiLost applications with WebAssembly, WebGL, and SharedArrayBuffer support out of the box.

Installation

You don't need to install this package globally. Use npx:

npx create-milost-app my-app

Usage

Create a console application

npx create-milost-app my-app

Create a web application with WebGL UI

npx create-milost-app my-app --ui

What You Get

Every MiLost app created includes:

Performance Features (Automatic)

  • WebAssembly acceleration - 10-100x performance boost
  • SIMD support - 1.7-4.5x additional speedup
  • SharedArrayBuffer threading - Multi-threading support
  • WebGL rendering - Hardware-accelerated UI
  • Web Workers - Automatic parallelization
  • Hot reload - Instant feedback during development

Project Structure

my-app/
├── src/
│   ├── main.ts              # Application entry point
│   ├── internal/
│   │   └── bootstrap.ts     # WASM/WebGL initialization
│   └── views/
│       └── MainView.ts      # UI components (--ui mode)
├── public/
│   └── index.html           # HTML template (--ui mode)
├── package.json
└── tsconfig.json

Development Commands

npm run dev        # Start dev server with hot reload
npm run build      # Build for production
npm run start      # Start production server
npm run type-check # TypeScript type checking
npm run clean      # Clean build artifacts

Development Server

UI applications automatically use milost-dev-server which provides:

  • Automatic CORS headers for SharedArrayBuffer
  • WebSocket-based hot reload
  • WASM streaming compilation
  • Proper MIME types for all assets
  • Zero configuration required

Browser Support

  • Basic WASM: 100% of modern browsers
  • SIMD acceleration: 85%+ of browsers
  • SharedArrayBuffer: ~70% of browsers (with proper headers)
  • WebGL: 98%+ of browsers
  • Automatic fallbacks ensure 100% compatibility

Examples

Simple Console App

import { Vec, Option, Result } from 'milost';

const numbers = Vec.from([1, 2, 3, 4, 5]);
const doubled = numbers.batchMap(x => x * 2);
console.log('Doubled:', doubled.toArray());

WebGL UI App

import { MiLostUI, View, Text, VStack } from 'milost/ui';

export class MainView extends View {
  build() {
    return VStack([
      Text('Hello from WebGL!').fontSize(24),
      Text('Powered by MiLost').color('#667eea')
    ]).padding(20);
  }
}

Requirements

  • Node.js >= 16.0.0
  • Modern browser with WebAssembly support

License

MIT

Links