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

@halfserious/yadu

v2.16.4

Published

Package and Deploy our AWS lambdas

Downloads

18

Readme

YaDU (Yet another Deployment Utility)


Quality Gate Status


Introduction

THIS IS STILL A WORK IN PROGRESS

This tool is used to deploy, upgrade and package AWS lambdas. It also manage our MySQL Schema Changes / Online Schema Changes using Liquibase CLI.

It is developed using NodeJS and ShellJS when it is not simple to use Javascript.

We planned to create a complete and intuitive tool to work alongside with SAM (from AWS)

Installation

npm install -g @halfserious/yadu

Using root account or if you have a permission error:

npm install --unsafe-perm -g @halfserious/yadu

To skip the Liquibase Installation:

export SKIP_POST=1
npm install -g @halfserious/yadu

Usage

For specific documentation:

Get CLI help

yadu --help

Use an AWS profile

yadu --profile='profile_name'

alternatives:

  • export AWS_PROFILE=""
  • export PROFILE=""
  • By default, it uses 'default'

Specify a region

yadu --region='us-east-1'

alternatives:

  • export AWS_REGION=""
  • export REGION=""
  • By default, it uses 'us-east-1'

Configuration

It uses the environment variables, AWS Secret Manager, Local .env and arguments

| Priority | Description | Command | |:----------------:|-----------------------------------------------------------|---------------------------------------------| | 4 (Loaded First) | Load data from your local environment variables | export FOO=BAR or SetX FOO BAR | | 3 | Load data from AWS secret manager into your process.env | --secret=<String,String,...> | | 2 | Load data from local .env.environment file | NODE_ENV="<String>" or --env="<String>" | | 1 (Loaded Last) | Override using the arguments (Check the CLI commands) | --help |

Support

MacOs & Linux

Linux (Docker) : npm install -g --unsafe-perm @halfserious/yadu

On MacOS : npm install -g @halfserious/yadu

Windows

Tested on windows 10 using

  • Git bash
  • Powershell

npm install -g @halfserious/yadu

Contribution

All contributions are welcome ! We use the issues to track Feature requests, bugs and others.

We are still working on the core of this utility, so it is possible that breaking changes will be published.