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

startfrom

v3.0.1

Published

Use any Github repo as a template for a new project.

Downloads

24

Readme

🎬 startfrom

NPM version Linux Build Status Windows Build Status

A little tool to download a snapshot of a Github repo and use it as a starting point for a new project.

Intended for people who use a lot of boilerplates and starter kits.

screenshot

Install

> npm install -g startfrom

# or, if you prefer yarn:
> yarn global add startfrom

How to use

Go into an empty directory, then run startfrom with a GitHub repo identifier. For example:

> startfrom google/web-starter-kit

# ...or just paste the whole GitHub URL, if it's easier:
> startfrom https://github.com/google/web-starter-kit

What it does

  1. Downloads a snapshot of the specified repo to your current working directory. (Just a snapshot – no git history.)
  2. Does git init, git add . and git commit. (Your original startfrom command is used as the commit message.)
  3. If there's a package.json, runs npm install.

It will also ask for confirmation of which files you want to include. By default, things like README.md, CHANGELOG and docs are deselected, but you can change the selection if you want.

More options

Start from a specific branch/tag/commit reference

Use a # symbol, for example:

> startfrom mxstbr/react-boilerplate#v2.5.0

Start from a subdirectory of a repo

Sometimes you just want a subdirectory. For example, with HTML5 Boilerplate you probably just want its dist folder.

Specify your desired subdirectory as a second argument:

> startfrom h5bp/html5-boilerplate dist

Skipping the interactive prompt

If you don't want startfrom to prompt you to confirm which files you want, use the --confirm flag to auto-confirm it. Useful for automation.

Licence

MIT © Callum Locke


Dependency Status devDependency Status peerDependency Status