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

v0.11.0

Published

Bootstrap your TypeScript project with monots πŸŽ‰

Downloads

12

Readme

create-monots

The easiest way to get started with monots.

The easiest way to get started with monots is by using create-monots. This CLI tool enables you to quickly start building a new monots project, with everything set up for you. You can create a new project using the default template, or by using one of the official boilerplate. To get started, use the following command:

# npm
npm create monots

# yarn
yarn create monots

# yarn
pnpm create monots

To create a new project with a specific name, you can send a name as an argument. For example, the following command will create a new project awesome in a folder with the same name:

npm create monots sideproject

Currently create-monots requires either a global installation of pnpm or corepack to be installed and enabled.

If you are using a version of node lower than 16.9 then you will need to install it manually.

npm i -g corepack

And then enable corepack.

corepack enable

Options

create-monots comes with the following options:

  • -e, --example [name]|[github-url] - An example to bootstrap the app with. You can use an example name from the monots examples repo or a GitHub URL. The URL can use any branch and/or subdirectory.
  • --example-path <path-to-example> - In a rare case, your GitHub URL might contain a branch name with a slash (e.g. bug/fix-1) and the path to the example (e.g. foo/bar). In this case, you must specify the path to the example separately: --example-path foo/bar

Why use create-monots?

create-monots allows you to create a new project within seconds. Additionally it comes with the following features.

  • Interactive Experience: Running npm create monots (with no arguments) launches an interactive experience that guides you through setting up your project.
  • Zero Dependencies: Initializing a project is as quick as one second. create-monots has zero dependencies.
  • Offline Support: create-monots will automatically detect if you're offline and bootstrap your project using your local package cache.
  • Support for Examples: create-monots can bootstrap your application using an example from the monots examples collection (e.g. npx create-monots --example api-routes).
  • Tested: The package is part of the monots monorepo and tested using the same integration test suite as monots itself, ensuring it works as expected with every release.