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

rdsing

v0.1.6

Published

A tiny node-based tool written in ES6 to boot up an RDS instance from its latest snapshot, wait for it to become available, and modify the instance to add security groups.

Downloads

2

Readme

rdsing

A tiny node-based tool written in ES6 to boot up an RDS instance from its latest snapshot, wait for it to become available, and modify the instance to add security groups.

It's fairly specialized and is designed particularly to enable processes that boot up RDS snapshots for dumping into other databases. The feature set could be substantially expanded if there is a use for it.

USAGE

$ rdsing --help

Usage: rdsing <command>

command
  restore     Restore the latest RDS snapshot available.
  destroy     Delete an RDS instance.

There are two commands, one for restoring and one for deletion:

$ rdsing restore --help

Usage: rdsing restore [options]

Options:
   --debug              Print stuff.  [false]
   -r, --region         AWS region to use.  [us-east-1]
   -n, --name           Name of the target.
   -d, --dbname         Database name in the restored instance.
   -m, --multiaz        Use multiple availability zones.  [false]
   -i, --iops           Number of iops to provision. Default is the same as the snapshot.
   -t, --instancetype   Instance type to use. Default is the same as the snapshot.
   -p, --port           Port number to use. Default is the same as the snapshot.
   -g, --group          Security groups to add to the instance...

Restore the latest RDS snapshot available.

$ rdsing destroy --help

Usage: rdsing destroy [options]

Options:
   -s, --snapshot   If specified, creates a final snapshot with this name.
   --debug          Print stuff.  [false]
   -r, --region     AWS region to use.  [us-east-1]
   -n, --name       Name of the target.

Delete an RDS instance.

When using restore, the project will wait until the instance becomes available, and if modification is necessary it'll wait for that to finish too. No progress output is printed unless --debug is specified. Without --debug, only the final instance JSON blob will be printed, to make it easy to call from other programs.

Design

Rdsing is designed as a functional promise pipeline of sorts. Operations to perform with AWS are curried functions that return a promise and those are piped together to perform operations.

API Docs

If for some reason you'd like to look at htmlized api docs generated with jsdoc, head on over here.