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

stimpak

v0.2.2

Published

Automate workflows and generate code patterns with minimal effort.

Downloads

23

Readme

Stimpak: A Pattern Management System

npm version license type Build Status Coverage Status bitHound Score bitHound Dependencies bitHound Dev Dependencies npm downloads Source: ECMAScript 6

Stimpak is a system for defining, discovering, and re-using code & workflow patterns:

  • Formalize code and workflow patterns with minimal effort so that they can be re-used and shared with others.
  • Cut down on time doing routine tasks by generating new files based upon simple patterns.
  • Update old files with new patterns using simple merging strategies.
  • Develop automated expert systems that guide users through complicated tasks.

Main Features

  • Built for Ease-of-Use
    • Everything about stimpak was designed with ease-of-use and time-savings in mind.
    • Minimal learning required. Get up and running within a few minutes.
    • Automatic just-in-time transpiling for automatic backwards compatible with older versions of nodejs.
  • Minimally-Opinionated Generator Design
    • Very little learning required to write your own generators. Make your first pattern in less than 5 minutes.
    • Setup your directory structures the way you want. Change them later if you want to.
    • Name your methods how you'd like. Except for one .setup method on each generator, you're free to use any method name you'd like, or to change them later.
  • Composable Generators
    • Create several small generators that work independently.
    • Combine generators together on-the-fly via the CLI.
    • Combine generators into a new generator that can guide the user through multiple tasks at once.
  • Integrated Templates
    • Choose your own template engine, or use EJS by default.
    • Answers to prompts are automatically used as values in templates.
  • Smart File Merging
    • Easily designate files that should be merged instead of overwritten.
    • Use built-in or custom merging strategies for a variety of file formats.
    • Merge strategies using virtual file objects to avoid touching the filesystem more than necessary.
  • Customizable ASCII-Art
    • Built-in ASCII-Art generator for BIG popping titles in any of 680 built-in figlet fonts.
    • Optionally choose not to have ASCII-Art whenever you use your generators. It's all up to you!
  • Quality-Controlled
    • Well-tested with meaningful assertions.
    • 100% test coverage.
    • Continuous Integration
    • Automated Code Quality Auditing
    • Automated Dependency Management
    • Automated Up-Stream Security Vulnerability Reporting

Getting Started Guides

Stimpak can be used as both a command-line interface (CLI), and as a standalone library that can be embedded into your own code. Choose the guide below to help you get started with either integration method, or with writing a new stimpak generator from scratch:

  1. Stimpak Command-Line Interface
  2. Stimpak API
  3. Stimpak Generator Development

How to Contribute

We love pull requests and issue reports! Really!

If you find a bug or have a feature suggestion, please feel free to submit an issue here.

For more information on how to submit a pull request, please read this guide on contributing to open-source projects.