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 🙏

© 2024 – Pkg Stats / Ryan Hefner

create-spin-app

v1.0.4

Published

[![npm](https://img.shields.io/badge/npm-CB3837?style=for-the-badge&logo=npm&logoColor=white)](https://www.npmjs.com/package/create-spin-app)

Downloads

3

Readme

Create Spin App 🌀

npm

Create Spin App is a command-line interface (CLI) tool that is based on the Atro CLI. It allows you to easily generate a new application using different templates:

○ Standalone webapp, powered by Astro ○ Astro Frontend app (Astro / React) ○ Micro-frontend app (React) ○ Micro-frontend app (VanillaJS) ○ Micro-frontend app (Shell) ○ Next Frontend app ( Next SSG ) ○ Next Frontend app ( Next SSR ) ○ Remix Frontend app ( Remix js SSR ) ○ Astro Frontend app (Astro / React SSR) ○ Static website (with Caddy) ○ Static website (with nginx)

Usage

To use Create Spin App, you need to have Node.js and npm (Node Package Manager) installed on your machine.

To create a new application using Create Spin App, you can run the following command:

npx create-spin-app@latest
  • This will launch the CLI and prompt you to choose a template for your application. Simply select the desired template and follow the instructions to generate your new application.

  • create spin runs in interactive mode by default, but it also provides the option to specify additional templates from a remote repository by passing the URL

    npx create-spin-app@latest -- --additional-template https://github.com/mdn/html-examples

Design

꩜ Spin is a common platform for developing, delivering and hosting frontends.

Templates / Starter kits

  • Create Spin App provides a set of templates that are designed to enhance the developer experience (DX) by providing a ready-to-use project structure with essential configurations.

  • By leveraging these templates, developers can quickly set up their projects with essential tools and configurations, allowing them to focus on building their applications.

Check out the full list of example templates, available on GitHub.

Implementation

We try to bring this codebase to some high standards.

ℹ️ Spin development key criteria are: functional, performant & elegant.

Part of the codebase structure and code has been borrowed from the amazing Astro project.

CLI Flags

May be provided in place of prompts

| Name | Description | |:-----------------------------|:-------------------------------------------------------| | --additionnalTemplate | Specify url of remote repository. | | --template <name> | Specify your template. | | --install / --no-install | Install dependencies (or not). | | --git / --no-git | Initialize git repo (or not). | | --yes (-y) | Skip all prompt by accepting defaults. | | --no (-n) | Skip all prompt by declining defaults. | | --dry-run | Walk through steps without executing. | | --skip-houston | Skip Houston animation. | | --typescript <option> | TypeScript option: strict / strictest / relaxed. |