Skip to content

collection of small utility packages in TS

Notifications You must be signed in to change notification settings

miermontoto/packages

Repository files navigation

@miermontoto/packages

TypeScript package collection for Node.js applications. framework-agnostic utilities and wrappers.

Packages

Package Description NPM
@miermontoto/cached-dynamo DynamoDB client with built-in memory caching for improved performance npm
@miermontoto/config Configuration management with AWS Secrets Manager and environment variables npm
@miermontoto/dynamo TypeScript wrapper for common DynamoDB operations with promise support npm
@miermontoto/lambda-handler Base handler class for AWS Lambda with middleware support and health checks npm
@miermontoto/lambda-responses Consistent HTTP response helpers for AWS Lambda functions npm
@miermontoto/local-cache In-memory cache implementation with TTL and automatic cleanup npm
@miermontoto/okticket TypeScript client for Okticket API - B2B expense automation and management platform integration npm
@miermontoto/redis TypeScript wrapper for Redis-optimized operations npm
@miermontoto/s3 TypeScript wrapper for AWS S3 operations with streaming support npm
@miermontoto/ses Simple TypeScript wrapper for AWS SES operations npm
@miermontoto/sns Simple TypeScript wrapper for AWS SNS operations npm
@miermontoto/zip ZIP archive creation and extraction using archiver library npm

Installation

npm (recommended)

# install individual packages
pnpm add @miermontoto/s3
pnpm add @miermontoto/dynamo
pnpm add @miermontoto/lambda-handler
# etc...

GitHub Packages

to install from GitHub Packages, you'll need to:

  1. Create a GitHub Personal Access Token with read:packages scope
  2. Configure npm to use GitHub Packages for @miermontoto scope:
# Add to your ~/.npmrc or project .npmrc
@miermontoto:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN
  1. Install packages normally:
pnpm add @miermontoto/s3
pnpm add @miermontoto/dynamo
# etc...

Development

this is a pnpm workspace monorepo. to work on packages:

# install dependencies
pnpm install

# build all packages
pnpm -r build

# build specific package
pnpm --filter @miermontoto/s3 build

Publishing

# 1. Create a changeset for version bumps
pnpm changeset

# 2. Commit and push (including the changeset)
git add .
git commit -m "feat: new feature"
git push

# The CI will automatically:
# - Apply version bumps from changesets
# - Commit the version updates back to main
# - Publish to npm registry
# - Publish to GitHub Packages
# - No PR or manual approval needed

License

all packages licensed under CC BY-NC-ND 4.0. third-party dependencies apply.

About

collection of small utility packages in TS

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •