Socket
Book a DemoInstallSign in
Socket

create-vanjs

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-vanjs

🍦 Quick tool for scaffolding your first VanJS project

0.1.2
latest
Source
npmnpm
Version published
Weekly downloads
13
550%
Maintainers
1
Weekly downloads
 
Created
Source

create-vanjs

Scaffolding your first VanJS project in seconds!

Compatibility Note: Vite requires Node.js version 18+, 20+, 22+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.

Usage

# NPM:
npm create vanjs@latest
# PNPM:
pnpm create vanjs@latest
# Deno:
deno run -A npm:create-vanjs@latest
# Bun:
bun create vanjs@latest

Then follow the prompts!

Note: if you execute the create command with other package manager than npm, your project's package.json scripts will be updated to use that package manager. (EG: bun create vanjs will rename scripts to bun run build).

Current Directory

You can use . for the project name to scaffold in the current directory.

# npm
npm create vanjs@latest .

Specify Template

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a basic Vite + VanJS project, run:

# npm
npm create vanjs@latest my-vanjs-app -- --template node-base

Templates

Currently supported template presets include:

TemplateTry online
node-baseStackBlitz
node-base-tsStackBlitz
node-routingStackBlitz
node-routing-tsStackBlitz
node-fs-routingStackBlitz
node-fs-routing-tsStackBlitz
node-jsxStackBlitz
node-jsx-tsStackBlitz
node-ssrStackBlitz
node-ssr-tsStackBlitz
node-ssr-jsxStackBlitz
node-ssr-jsx-tsStackBlitz
vikeStackBlitz
vike-tsStackBlitz
vike-jsxStackBlitz
vike-jsx-tsStackBlitz
deno-base
deno-base-ts
deno-routing
deno-routing-ts
deno-fs-routing
deno-fs-routing-ts
deno-jsx
deno-jsx-ts
deno-ssr
deno-ssr-ts
deno-ssr-jsx
deno-ssr-jsx-ts

Community Templates

create-vanjs is a tool to quickly start a project from a basic template for VanJS. Check out Awesome Vite for community maintained templates that include other tools or target different frameworks. You can use a tool like degit to scaffold your project with one of the templates.

About

This project is crafted by developers, for developers! Now you can really develop applications of any kind or size with VanJS.

Attribution

This project is originally a fork of create-vite. Credit goes to all of its contributors.

Keywords

vanjs

FAQs

Package last updated on 06 May 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.