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

uniscript

v1.0.2283

Published

# Purpose This tool is designed to provide a universal code template populator. I also plan to make it a univeral script execution tool, which is the reason of its name.

Downloads

10

Readme

uniscript

Purpose

This tool is designed to provide a universal code template populator. I also plan to make it a univeral script execution tool, which is the reason of its name.

Getting Started

Install UniScript to enable the "us" commandlet

npm install -g uniscript

To verify the installation, try print the version with either of the following commands:

us --version
us -v

To update uniscript:

us t/update

AWS + Azure DevOps

Use Amazon Web Service with Azure DevOps for CI/CD. You need to install Azure CLI with the devops extension. Initialize AWS + Azure DevOps:

us aws/az-dev

Modify the 'az-dev-env.yml'. Then setup the project:

us aws/az-setup

Azure DevOps Utilities

To get the tools working, a repo with the AWS utility functions for Azure DevOps is required. 0) Create The Azure DevOps project, create the "AWS Service Connection", where the connection name is the 12 digit AWS Account Id.

  1. Initialize:
us aws/az-dev
  1. Modify the 'az-dev-env.yml' with proper values, then run setup:
us aws/az-setup
  1. Add the project source files and create corresponding Azure DevOps pipelines (This will work if your default brand is either "main" or "master"):
us aws/az-util
  1. Details about Azure Utilities

Azure DevOps Operations

Run Pipeline

Run the Azure DevOps pipeline for project:

us aws/az-run [project-name]

Delete Pipeline

Delete the Azure DevOps pipeline for project:

us aws/az-rm [project-name]

AWS Lambda

Create Python Project

us aws/py/lambda [project-name]

Create Python Docker Project

us aws/py/lambda-docker [project-name]

Create Python Layer

us aws/py/layer [project-name]

Create TypeScript Project

us aws/ts/lambda [project-name]

Create TypeScript Docker Project

us aws/ts/lambda-docker [project-name]

Create TypeScript Layer

us aws/ts/layer [project-name]

Create C# Project

us aws/cs/lambda [project-name]

Create C# Docker Project

us aws/cs/lambda-docker [project-name]

AWS CloudFront

Angular

This requires @angular/cli

us aws/cdn/angular [project-name]

Update ApiGateway Websocket API and Cognito Login URL for Angular

This will update the environment.ts and environment.*.ts files.

us aws/cdn/angular-update [angular-project-name] [aws-profile-name] [users-project-name] [websocket-project-name] [environment-name]

AWS Users

Users

Create a users project

us aws/users

AWS API

JWT Layer

JWT Layer is required for Websocket, install it first before using the following API projects. JWT Layer is a nodejs layer.

us aws/api/jwt-layer

Websocket

Create a Websocket project

us aws/api/websocket [project-name]

Integrate Lambda to Websocket API

Add Lambda Integration to ApiGateway Websocket API.

us aws/api/websocket-lambda [websocket-project-name] [lambda-websocket-project-name] [namespace.service]

Where namespace.service is the service name from RPC

RPC

Create RPC Project

RPC project defines the data contracts and APIs between frontends and backends.

us aws/rpc [rpc-project-name]

in the uni-rpc.yml file, the users type can be emitted to the "Users" project to update the cloudformation.yml file.