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

v0.1.2

Published

A convenience utility for dynamically invoking other starter kits from arbitrary sources

Downloads

5

Readme

create-this 🚀

This project is a convenience wrapper for invoking starter kits from sources other than public packages named create-<X>.

It is most useful for conveniently invoking starter kits in private repositories, from scoped packages, private packages or private registries.

# With npm
npx create-this git+ssh://[email protected]/user/repo.git
npx create-this my-private-package
npx create-this @myorg/some-package
npx create-this ./path/to/my/package

# With yarn
yarn create this git+ssh://[email protected]/user/repo.git
yarn create this my-private-package
yarn create this @myorg/some-package
yarn create this ./path/to/my/package

# With pnpm
pnpm create this git+ssh://[email protected]/user/repo.git
pnpm create this my-private-package
pnpm create this @myorg/some-package
pnpm create this ./path/to/my/package

Usage

# With NPM
npx create-this <options for create-this> <package-identifier> <options-and-arguments-for-the-invoked-starter-kit>

# With Yarn
yarn create this <options for create-this> <package-identifier> <options-and-arguments-for-the-invoked-starter-kit>

# With pnpm
pnpm create this <options for create-this> <package-identifier> <options-and-arguments-for-the-invoked-starter-kit>
# or
pnpx create-this <options for create-this> <package-identifier> <options-and-arguments-for-the-invoked-starter-kit>

create-this will try to automatically infer which package manager you're using. If this fails or if you want to use another package manager, then you can specify it using --use (npm|yarn|pnpm).

Any options and arguments passed to create-this after the package identifier are passed to the invoked starter kit.

This tool is most convenient for invoking unpublished starter kits in private (or public) git repositories, e.g

yarn create this git+ssh://[email protected]/user/repo.git -a -b --some-option --another-option 42 ./some-dir

You can also use it to invoke private packages or scoped packages

yarn create this my-private-package -a -b --some-option --another-option 42 ./some-dir

yarn create this @myorg/some-package -a -b --some-option --another-option 42 ./some-dir

Finally, you can also use a local directory as the source.

yarn create this ./path/to/my/package -a -b --some-option --another-option 42 ./some-dir

License

MIT