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

@kernelminds/create-enclave

v0.0.3

Published

🚀 The official Scailo starter framework. Instantly scaffold a complete, dependency-ready starter project that could be deployed as an application or a widget on Scailo.

Readme

Scailo Application Starter Kit

Welcome to the official starter kit for building custom applications and widgets on the Scailo platform. This kit provides a complete project scaffold using TypeScript and TailwindCSS (with DaisyUI), allowing you to get up and running in minutes.

Features

  • TypeScript: Write robust, type-safe code for your application logic.

  • TailwindCSS: A utility-first CSS framework for rapid UI development.

  • DaisyUI: A component library for TailwindCSS to build beautiful interfaces quickly.

  • Development Server: A built-in proxy server to seamlessly connect with the Scailo API during local development.

  • Build & Packaging Scripts: Simple commands to watch for changes, build your assets, and package your application for deployment.

Getting Started

Follow these steps to create your new Scailo application.

Prerequisites

Make sure you have nodejs and npm installed on your system.

Scaffolding a New Application

To create a new project, run the following command in your terminal:

npx @kernelminds/create-enclave@latest

You will be prompted to enter the following information:

  1. Application Name: The user-facing name of your application as it will appear on Scailo.
? Enter Application Name: My Awesome Scailo App
  1. Application Identifier: A unique internal identifier for your application. This is used by Scailo to track the app.

    Important: Please use a unique identifier. Deploying a new app with an existing identifier will overwrite the current application on Scailo.

? Enter Application Identifier: my-awesome-scailo-app-123
  1. Initial Version: The starting version number for your application. It must be a semantic versioning compliant string (e.g., 1.0.0).
? Enter Initial Version: 1.0.0

Once completed, a new directory with your application name will be created. Navigate into it to begin development.

cd "My Awesome Scailo App"
npm install

Development Workflow

1. Configure the Development Server

The starter kit includes a local proxy server to forward API requests to your Scailo instance during development.

  1. Locate the .env file in the root of your project.

  2. Update the file with your Scailo credentials and local server configuration:

# The full URL of the Scailo API
upstreamAPI=https://your-scailo-instance.scailo.com/api

# The port for your local development server
port=8080

# Your Scailo username for proxying requests
username=your_username

# Your Scailo password for proxying requests
password=your_password

2. Run the Development Server

npm run dev:serve

This command will:

  • Read the configuration from your .env file.

  • Start a local server on the specified port.

  • Serve the main index.html file on the / route (e.g., http://localhost:8080).

  • Proxy any other incoming requests to the upstreamAPI using your credentials.

3. Watch and build TypeScript and CSS files

npm run dev:watch

This command executes npm run css:watch and npm run ui:watch concurrently.

4. Develop Your Application

With the server running, you can now start building your application. You will likely need two additional terminal windows for the watch commands.

Styling (CSS)
  • To add custom styles or configure TailwindCSS, edit the resources/src/css/app.css file.

  • To automatically compile your CSS changes, run the watcher:

npm run css:watch
  • This will generate the output file resources/dist/css/bundle.css, which is already linked in index.html.
Application Logic (TypeScript)
  • The main entry point for your UI logic is resources/src/ts/app.ts.

  • You can create additional TypeScript modules and import them into app.ts.

  • To automatically compile your TypeScript code into a single JavaScript bundle, run the watcher:

npm run ui:watch
  • This generates the minified output file resources/dist/js/bundle.src.min.js, which is already linked in index.html.

Customizing the Application Logo

To set a custom logo for your application:

  • Place your logo image file inside the resources/dist/img/ folder.

  • Open the MANIFEST.yaml file in the project root.

  • Update the resources.logos property to point to your new logo file name.

resources:
  logos:
    # Example for a logo named 'my-logo.png'
    - "resources/dist/img/my-logo.png"

Authentication and Authorization

It is crucial to understand how authentication works in development versus production.

  • During Development: The username and password in your .env file are used by the local proxy server (server.ts) to make authenticated API calls to Scailo. This is for convenience and local testing only.

  • In Production (on Scailo): When your application is built and deployed to the Scailo platform, it does not use the .env credentials. Instead, the application automatically assumes the roles, permissions, and identity of the currently logged-in Scailo user who is executing the app.

Packaging for Deployment

When your application is ready for deployment, you need to create a final build package.

  1. Run the packaging command:
npm run package
  1. You will be prompted to enter a new version for the application.

    Note: The new version must be a valid semantic version and must be greater than the current version specified in the app_version property of your MANIFEST.yaml file.

This script will bundle all your assets and create the final distributable package required for deployment on Scailo.

NPM Scripts Summary

Here is a quick reference for the available commands:

| Command | Description | | ----------------- | --------------------------------------------------------------------------- | | npm run dev:serve | Starts the local development server and API proxy. | | npm run dev:watch | Watches for changes in CSS files and TypeScript files concurrently. | | npm run css:watch | Watches for changes in CSS files and rebuilds the bundle.css on save. | | npm run ui:watch | Watches for changes in TypeScript files and rebuilds the JS bundle on save. | | npm run package | Bundles and packages the application for production deployment. |