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

@deboxsoft/plop-generator

v1.0.39

Published

Plop Generator to scaffold js/ts projects

Downloads

124

Readme

plop-generator

Project Generator - Micro-generator framework that makes it easy for an entire team to create web project files with a level of uniformity.

Prerequisites

  • NodeJS LTS

Getting Started

Install plop-generator

npm i -g @deboxsoft/plop-generator

Create a sym link so you can use the cli command:

npm link @deboxsoft/plop-generator

Usage with custom cli command

plop-gen - For example:

➜  plop-generator git:(master) ✗ plop-gen
? workspace: (Use arrow keys)
  component-lib
❯ create-react-app
  cypress-e2e
  gatsby
  gatsby-contentful
  next
  node-backend-service
(Move up and down to reveal more choices)

Usage without custom cli command

// package.json
{
  "scripts": {
    "plop": "./node_modules/@deboxsoft/plop-generator/bin/cli.js"
  },
  ...
}

NPM Example: npm run plop

This command will scaffold/bootstrap the selected project using the template files in the plop generator repo.

Generators project

| NAME | Description | Status | | ------------------------------- | -----------------------------------------------------------------------------------------| ------------------- | SVELTE-APP | Svelte Scafolding, CI/CD Build Pipelines | NOT STARTED | | COMPONENT-LIB | Svelte Component with Storybook and CI/CD Build Pipelines | IN PROGRESS | | CYPRESS E2E | Cypress Headless Browser Functional/Integration/E2E Test Suite | READY | | GATSBY | Svelte-based open source framework for creating websites and apps. CI/CD Build Pipelines | IN REVIEW | | GATSBY-CONTENTFUL | Gatsby/Contentful CMS Project Template with CI/CD Build Pipelines | READY | | NEXT | React framework with Storybook, CI/CD Build Pipelines and some flavor | NOT STARTED | | NODE-BACKEND-SERVICE | Non-REST Internal NodeJS/Typescript Service with CI/CD Pipelines | READY | | NODE-EXPRESS | NodesJS/Express HTTP REST Server with middleware, utils, and CI/CD pipelines | READY | | NODE-FASTIFY | NodesJS/Fastify HTTP REST API Server with middleware, utils, and CI/CD pipelines | IN PROGRESS | | NODE-GQL | NodesJS Apollo GraphQL Server with middleware, utils, and CI/CD pipelines | READY | | SERVERLESS-CLOUD-FUNCTIONS | Google/Firebase Cloud Functions with CI/CD pipelines | READY | | SERVERLESS-AZURE-FUNCTIONS | Azure SAM Functions with CI/CD pipelines | NOT STARTED | | SERVERLESS-LAMBDA-FUNCTIONS | AWS SAM Lambda Functions with CI/CD pipelines | NOT STARTED | | SHARED-LIB | Shared/Common Util Workspace | IN PROGRESS |

Generators Module

| NAME | Description | | |---------------------------------|-------------------------------------------------------------------------------------------|-------------------| | API | Module API | PROGRESS |

Full Example

> plop

? workspace: (Use arrow keys)
❯ create-react-app
  gatsby
  next
  node-backend-service
  node-express
  node-fastify
  node-gql
(Move up and down to reveal more choices)
? organization name test-org
? workspace name test-app
⠋ Install Dependencies
✔  ++ /test-app/.env
✔  ++ /test-app/Dockerfile
✔  ++ /test-app/codegen.yml
✔  ++ /test-app/docker-compose.yaml
✔  ++ /test-app/package.json
✔  ++ /test-app/src/app.ts
-  --SKIPPED /test-app/src/middleware/limiter.middleware.ts
✔  ++ /test-app/src/middleware/token.middleware.ts
✔  ++ /test-app/src/server.ts
...
... npm install
...

Development

TODO: Add docs on how to add/extend generators

Contributions

Read the contribution documentation.