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-nativecore

v2.0.28

Published

Official CLI to scaffold NativeCoreJS SPA apps (vendors framework under .nativecore/)

Readme

create-nativecore

Official CLI for scaffolding NativeCoreJS applications.

NativeCoreJS is a browser-native SPA framework: HTML views, CoreController, reactive signal / state, CoreComponent Web Components, router, generators, and a shipped nc-* UI library — without a virtual DOM.

This package is the app generator. It copies a full project template and vendors the framework runtime under .nativecore/. New apps do not need a runtime nativecorejs dependency (use that package only for library-style imports).

Quick start

npx create-nativecore@latest my-app --defaults
cd my-app
npm run dev

TypeScript:

npx create-nativecore@latest my-app --ts

Open http://localhost:3000.

What you get

| Area | Behavior | |------|----------| | Language | JavaScript by default; --ts for TypeScript | | Shell | Minimal HTML shell (no header/footer/sidebar). Chrome components ship in the template for opt-in | | Home | Calm enterprise starter page only — no login, dashboard, or marketing showcase routes | | Framework | Vendored under .nativecore/ (core, utils, testing, plus scaffold-owned dev / scripts) | | UI | Full nc-* component set under src/components/core/ | | Tooling | HMR, Vitest, ESLint/HTMLHint, mock API helpers, make:* / remove:*; .vscode/extensions.json recommends NativeCoreJS Extension Pack (+ lite set) | | AI guidance | .context/, .cursorrules, AGENTS.md, .github/copilot-instructions.md | | Auth | Not shipped. Router middleware / make:middleware / protected views stay available so you add your own model | | Component Builder | Experimental and disabled by default |

Canonical app APIs

Teach and use only:

  • ref → this.name in controllers/components
  • this.signal / this.state / this.bind / this.on
  • CoreController + CoreComponent + defineComponent
  • r.register / r.group / createLazyController / middleware tags
  • npm run make:view, make:component, make:store, make:middleware, …
  • npm run build / npm run build:ssg

Update an existing app later with:

npm run sync:core                 # .nativecore runtime (router/state/utils)
npm run sync:core -- <version>    # pin a published version
npm run sync:components           # additive src/components/core nc-* UI
npm run sync:components -- <version>
npm run sync:tooling              # safe root tooling merge (jsconfig, .vscode/extensions)
npm run sync:tooling -- <version>

Older apps that do not yet have the local sync:tooling script can run:

npx create-nativecore@latest sync-tooling

That command targets the current working directory and applies the same non-destructive tooling sync.

Flags

| Flag | Description | |------|-------------| | --defaults | Skip prompts (JavaScript on, Capacitor off) | | --ts / --js | Force TypeScript or JavaScript (JS is the default) | | --capacitor / --no-capacitor | Include or exclude Capacitor packaging | | --out-dir <path> | Output directory override |

Auth is your responsibility

The scaffold keeps group({ middleware: [...] }), make:middleware, and protected view generation. It does not ship a JWT login page, auth service, or demo credentials. Add auth with your own best-practice model.

Related packages

| Package | Role | |---------|------| | create-nativecore (this) | Scaffold CLI + template (vendors Core into apps) | | nativecorejs | Publishable runtime for import … from 'nativecorejs' |

Monorepo / docs: github.com/davidtv2008/nativecorejs