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

feasible

v3.0.0

Published

Guided and unified development environment

Downloads

779

Readme

Feasible

Guided and unified development environments setup wizard.

Life Cycle

  1. Download config file from remote if --url option is used
  2. Prompt questions
  3. Resolve default variables
  4. Initial hooks executed (if this is first setup/no lock file)
  5. Pre hooks executed
  6. Clone remote repository (if repository defined in config file)
  7. Clean up earlier produced files
  8. Render and save files
  9. Post hooks executed

Getting Started

1. Automate

Let's start by installing Feasible as a dev dependency of your project npm install feasible --save-dev or yarn add feasible --dev and add a script to your package.json, e.g.: "env": "feasible" just to trigger feasible. Or you can skip installation section and use npx feasible directly on your hooks

After that we need to create a configuration file in format you prefer feasible.{yml,json,json5}

Last step we have to create a git hook to automate updating environment on pull or checkouts (your choice, example is using husky, but you can use any other hook system) npx husky add .husky/post-merge "npm run env" or npx husky add .husky/post-checkout "npm run env" or both.

2. Manually managing

Install as a global and use on any project that have feasible.{yml,json,json5} configuration file npm install -g feasible or npx feasible

Commands & Arguments

  • Using different config file other than feasible.{yml,json,json5} feasible -c custom.json
Usage: feasible <command> [options]

Start setup process

Options:
  -V, --version                output the version number
  -c, --config <FilePath>      Configuration file (default: "feasible.{json,json5,yml}")
  -u, --url <FileUrl>          Configuration file url. Example: https://my-private-repo.git.com/raw/dope-repository/main/feasible.{json,json5,yml}?token=TOKEN
  -f, --force                  Overwrite current setup if it exists and start over (default: false)
  -p, --parallel               Enable parallel actions if possible (default: false)
  -s, --separator <Separator>  Default separator for variable and values (default: "=")
  -n, --no-clean               Don't clean up old output files
  -h, --help                   display help for command
  • Fetch remote config and execute npx feasible -c https://remote-url.io/feasible.yml
  • Version feasible --version
  • Help feasible --help

Configuration