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

tomvisions-toolkit

v1.0.6

Published

A toolkit for dev-ops purpose for my own uses

Downloads

13

Readme

Tomvisions Toolkit

In this repository is the code for the AWS DevOps Toolkit that I am building. It runs on the command line and it is constantly in progress. I will be regularly updating it when I have time.

How to install toolkit.

npm install -g tomvisions-toolkit

Current functionaity for RDS

  1. import - Reads the keys in a S3 bucket that is specified, parses the keys, and inserts the data in a database
tomvisions-toolkit rds import --bucket <bucket name> --prefix <key prefix> --config <database config file>

The database config file consists of the following JSON

{ "DB_HOST":"hostname", "DATABASE":"database name", "USERNAME":"user to connect as", "PASSWORD":"password t use" }

  1. export - Exports a database in AWS RDS and creates a snapshot, and then exports it into S3. Temporarily creates IAM role, policies and kms keys for the operaiton
tomvisons-toolkit rds export --instance <database instance to take snapshot from> --bucket <bucket to store the snapshot to>
  1. Deletes RDS snapshots based on prefix
tomvisons-toolkit rds delete --prefix <prefix of the snapshots you wish to delete>

Current functionaity for S3

  1. delete - Deletes s3 buckets based on prefix given. If bucket is not empty, it will automatically delete all keys within.
tomvisions-toolkit s3 delete --prefix <bucket prefix> 

Current functionaity for IAM

  1. delete - Deletes IAM users/roles/polices based on prefix
tomvisions-toolkit s3 delete --prefix <IAM user/role/policy prefix> --type <type to delete: user, role, policy> 

Current functionaity for SYSTEM

  1. rename - Renames all images files to UUID format while keeping the file extension
tomvisions-toolkit system rename --source <source folder> --destination <destination folder> --type <uuid>

And more functionalit to come