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

v0.2.0

Published

Quick scarfold a project with plop.js integration

Downloads

4

Readme

create-plop

Quickly scarfold templates with plop.js integration

Introduction

This is tool that generate template with plop that actually built with plop :)

Why you want to use it I been using plop for many years now, it's been my number one go-to tool for quickly create generator for templates for different kind of teams. It's been battle field test on Angular.js / React (preact) / Vue 2~3 Projects. Here are a few reasons why I use it.

1. Hackability

Traditional CLI tool is like a blackbox, you really can't do anything with it; unless you take the source and hack it. With plopfile, that's the source of your cli! And you (or your team) can add feature as needed.

2. Great for manage project

Guide line, documentation, even face-to-face lectures ... nobody cares or remember 5 minutes afterward; and they (your team member) just gone back to dump shit all over the places. But with an official team cli tool. You have control over the file structure, how things are organized, and new team member can jump right in just by running the tool couple times; they can hit-the-ground-start-running. Isn't that awesome?

3. Adding test is no longer an after thought

While you are generating template for your component, store etc, generate test template file at the same time; save time and enforcing writing test (even just simple unit test). And the test file can be as throughout as you make it to be.


And that just a few of the benefit of using this system. I do believe you will find a cli tool that can be tailor to your need is a great asset to your project.

Installation

$ npx create-plop@latest

Using the @latest will get you a fresh version (because we are upgrading it rapidly)

Just following the instruction.


V0.1.X - Ony support Vue.2 and Vuex at the moment, we will quickly porting the code and later release.

@TODO We support Vue (v.3) with Vuex or Pinia for start, and will add more framework in later release.

Tech Requirement

The tool is mark as type: module and written in ESM. It's develop on Pop!_OS 22.04 and Node.js 16-lts, using pnpm to manage packages.


MIT

Joel Chu (c) 2022