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

esops

v3.5.0

Published

Decouple your infrastructure with composable auto-ignored template generation.

Downloads

63

Readme

esops

  • Decouple Codependent Config Files: manage codependent config files like .eslintrc, tsconfig.json, .prettierrc, .editorconfig, and .vscode files in a separate directory or module.
  • Decouple devDependencies: Create your final package.json from composable pieces of package.json. This allows you manage devDependencies as a separate repository.
  • Compose Your Dev Environment: Compose elements of your dev environment and infrastructure from smaller pieces. esops uses user-defined explicit merge rules and enforces the use of git tags for immutable version management for infrastructure components.
  • Provide Reference Implementations and Design Docs: Create reference implementations that can be installed without polluting your git or npm publishes.

Packs To Try

| package | description | | ----------------------------------------------------------------------------------------- | -------------------------------------------- | | "github:sartaj/typescript-node-stack" | Have typescript with node tests ready to go. |

Install

Install globally or locally

Global

npm install -g esops
yarn global add esops

Local

npm install -save-dev esops
yarn add esops --dev`

Setup

Config esops in esops.json

esops.json

["github:sartaj/typescript-node-stack#master"]

Resolution Types

  • Filesystem: ['./infrastructure']
  • GitHub: ['github:user/repo#tag|branch']

Running

If global, just run esops. If local, use npx esops. Files will be generated, and if you have a .gitignore, it will be updated to include the generated files.

To Clean Files

To refresh your codebase, if you had a .gitignore and esops generated an ignore list there, you can remove files all .gitignore'd files using a git command or a module like remove-git-ignored.

Why

There are so many developer tools out there, like eslint, prettier, and typescript, that have codependent config files that have to be available at the root level of project to enable features like code editor integration. The management of these files can be considered a separate concern from your project goal.

By separating these files, and adding them as auto-ignored template files, you can update and manage your infrastructure separately from your client code.

New eslint settings? Need to support prettier now? Someone on the team wants better vscode integration? With esops, generated files don't pollute git or npm, thus not having to deal with rebasing or codgen issues that happen with other template generators.

Credits