New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

create-vite-hyperapp

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-vite-hyperapp

"Scaffold a project quickly with Hyperapp and Vite"

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
0
Weekly downloads
 
Created
Source

create-vite-hyperapp

Quickly scaffold new web-frontend projects using the Hyperapp microframework, using the Vite bundler.

Usage

With your shell in the folder under which you would like to create your new project folder, run npm create vite-hyperapp and answer the questions.

To skip questions and do the entire setup directly in the command line, use the options:

Usage: npm create vite-hyperapp -- [TARGET_DIR] [OPTIONS]

Options:
    -t, --typescript      Use typescript
    -s, --ssr             Use server-side rendering
    -n, --no-prompt       Just do it, no questions asked
    -h, --help            Show this message 

If no target dir is specified, the project name will be used.
If --no-prompt option is used, project name will be target dir
Default project-name/target-dir is 'hyperapp-project'

About the scaffolds

There are four basic templates that can be scaffolded up, depending on wether you want to use Typescript or not, and if you want to scaffold your project for SSR or not.

The vite-hyperapp connection is provided by vite-plugin-hyperapp.

The SSR scaffolds are based directly on Vite's SSR docs for setting up a server with SSR support.

All templates have their views written in JSX (or TSX, for the TS-templates), but you can just as easily install a view-system of your preference (or use hyperapp's builtin h and text). Just name your files with .js or .ts extensions instead of .jsx.

FAQs

Package last updated on 19 Jul 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc