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

@monstermakes/larry-scaffolds

v1.8.4

Published

This node module is a plugin based framework for scaffolding and/or generating Larry code.

Downloads

23

Readme

larry-scaffolds

npm version

https://nodei.co/npm/@monstermakes/larry-scaffolds.png?downloads=true&downloadRank=true&stars=true

Description

larry-scaffolds exposes common scaffolding tools and source generators in addition to some standard larry style scaffolds. The larry style scaffolds are also exposed as larry-cli Actions.


Cli Modules

Below you will find a brief overview of all the currently supported Cli Modules.

Scaffolds Cli Module

The Scaffolds Cli Module (Scaffolds for short) defines and evolves the MonsterMakes Engineering Standards. This includes things like code quality, testing guidelines, coding standards, and much more. The Scaffolds can be used to quickly get a project off the ground (when starting a project from scratch), or it can be used to enforce changes to the MonsterMakes Engineering Standards.

Its very straight forward to use the Scaffolds for starting a project from scratch just create a folder (usually an empty git folder) and execute any of the below Cli Actions.

In the case that the Engineering Standards have evolved and you are tasked with the job of upgrading a project start by making sure you have a clean git working directory. Then execute one of the below Cli Actions as if you were starting from scratch. After this is complete your git working directory will describe all of the changes that were made. There exists a couple of gotchas to keep in mind. The first is that the scaffolds are not super intelligent, there main purpose is to blindly lay down files. What this means is that if a file that the scaffold lays down has been changed within the local project it will require you to add your changes back in manually (Atlassian's Source Tree can help here). If a file should be removed because it's no longer relevant this will have to be done manually. The best course of action when being tasked with upgrading a projects standards is to talk to your team lead or to familiarize yourself with the changes that have been made to the larry-infrastructure package itself.

Cli Actions

Below you will find a brief overview of all the currently support Cli Actions for the Scaffolds Cli Module.

scaffold library

scaffold library [directory] Scaffold out a nodejs git project that produces a standard library.

This command will ask a few questions and then scaffold out a nodejs project with all the standard stuff mocha testing, eslint, ignore files etc... This project produces a standard npm artifact.

It also is setup for integration into the AWS Codepipeline CI environment.

You can specify a directory to scaffold the project into otherwise it will use the current working directory.

The above command can be launched directly like so:

larry-scaffolds scaffold node-git

scaffold web

scaffold web [directory] Scaffold out a nodejs git project that produces a clientside web application.

This command will ask a few questions and then scaffold out a nodejs project with all the standard stuff mocha testing, eslint, ignore files etc... This project produces a docker container that serves said web assets.

It also is setup for integration into the AWS Codepipeline CI environment.

You can specify a directory to scaffold the project into otherwise it will use the current working directory.

The above command can be launched directly like so:

larry-scaffolds scaffold web-app

scaffold api

scaffold api [directory] Scaffold out a nodejs git project that produces a express API server.

This command will ask a few questions and then scaffold out a nodejs project with all the standard stuff mocha testing, eslint, ignore files etc... This project produces a docker container that serves the api process.

It also is setup for integration into the AWS Codepipeline CI environment.

You can specify a directory to scaffold the project into otherwise it will use the current working directory.

The above command can be launched directly like so:

larry-scaffolds scaffold express-api

scaffold ws

scaffold ws [directory] Scaffold out a nodejs git project that produces a standard websocket server.

This command will ask a few questions and then scaffold out a nodejs project with all the standard stuff mocha testing, eslint, ignore files etc... This project produces a docker container that serves the websocket process.

It also is setup for integration into the AWS Codepipeline CI environment.

You can specify a directory to scaffold the project into otherwise it will use the current working directory.

The above command can be launched directly like so:

larry-scaffolds scaffold ws

TODO

  1. Setup projects to be used together..
    • docker compose additions
  2. Create Product Project
    • cloud formation and deployment tools

Scaffolds Express API TODOs

  1. Decide wether to validate responses or not. Currently responses are not validated.
  2. Incorporate Redis into API Server

Scaffolds WS TODOs

  1. Incorporate Service Method Discovery
  2. Standardize the WebSocket Messaging
    • Synchronous Messages
      • used for RPC calls
    • Streaming Messages
      • Start / Initiate message
      • Stream messages (Bi-Directional)
      • Completion / Terminate message