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

pinniped-cli

v0.5.1

Published

CLI tool for Creating, Managing, and Deploying your Pinniped projects

Downloads

13

Readme

Pinniped-CLI

An easy-to-use CLI tool for creating, managing, and deploying your Pinniped projects.

Setup

  • run npm install pinniped-cli -g to install Pinniped-cli globally
  • navigate to a directory where you'd like to create a new Pinniped project.
  • run pinniped create and follow the prompts.

Commands

Development / Local Project Commands

  • pinniped info

    • Displays info about the pinniped scripts and commands available for use.
  • pinniped create

    • Prompts you for your project name and initializes a new Pinniped project in your current working directory.
  • npm start

    • Runs your local pinniped project using Node.
  • npm run dev

    • Runs your local pinniped project using nodemon.
  • npm run reset-all

    • Resets your local pnpd.db main database file, migrations, sessions, and logs database files.
  • npm run reset-db

    • Resets your local pnpd.db main database file.
  • npm run reset-sessions

    • Resets your local sessions.db file.
  • npm run reset-migrations

    • Removes all migration files from your local project and resets the corresponding migrations table entries in the main pnpd.db database file.

AWS EC2 Instance Deployment and Application Updates

  • pinniped provision

    • Provisions an AWS EC2 instance.
  • pinniped deploy

    • Deploys your pinniped application to your provisioned EC2 instance and installs your project dependencies.
  • pinniped start

    • Starts your pinniped application on your EC2 instance using the PM2 process manager.
  • pinniped stop

    • Stops your pinniped application on your EC2 instance using the PM2 process manager.
  • pinniped update

    • Updates your pinniped application on your EC2 instance to match your local pinniped application, allowing you to select your update type.

      • All: Update the backend, frontend, dependencies, database, and migrations to match your local project.

      • Frontend: Update the frontend to match your project's local dist folder.

      • Backend: Update all non-database, non-frontend files to match your local project, and update dependencies.

      • Schema: Update the database schema to match the migrations in your local pnpd_data/migrations folder.

      • Database: Update the pnpd.db file to match your local pnpd.db file, and update schema migrations.

Security

By default the EC2 instance is configured to only accept http and https traffic (ports 80 and 443) as well as SSH traffic (port 22). Please further configure and harden the instance as your security needs require.