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

serverless-offline-dynamodb

v0.0.12

Published

A serverless plugin to create and manage local and offline DynamoDB.

Downloads

43

Readme

serverless-offline-dynamodb

A serverless plugin to create and manage local and offline DynamoDB.

serverless

Features

  • Create local DynamoDB Tables without any extra configuration
  • Seed initial data easily.

Docs

Prerequisites

This plugin expects a amazon/dynamodb-local container running and serverless-offline properly configured.

Here is a docker-compose.yml example:

version: '3'
services:
  dynamodb:
    container_name: logistics-api-offline-dynamodb
    image: amazon/dynamodb-local
    ports:
      - '8000:8000'
    working_dir: /home/dynamodblocal
    command: '-jar DynamoDBLocal.jar -sharedDb -dbPath ./'

[optional] You can use npx dynamodb-admin -H localhost to view and access your database.

Installation

npm i -D serverless-offline-dynamodb

Add serverless-offline-dynamodb into plugins section of your serverless configuration (be sure to include it BEFORE serverless-offline)

Data Seed:

To seed data, just create a folder called seed on project root and put a json file with exact same name of table you want to seed.