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

tantalum

v1.0.1

Published

A CLI that can be used to generate a development environment for off-line serverless AWS nodejs projects

Downloads

1

Readme

Tantalum

Tantalum is a CLI that can be used to generate a development environment for off-line serverless AWS nodejs projects. It does this be creating a serverless project using various available plug-ins.

NB: This is currently very much WIP and under active development.

Functionality

Tantalum can be used to generate a serverless project , enabling local development for the parts of AWS listed below.

  • Lambda
  • API Gateway
  • S3
  • DynamoDB
  • SNS

The first 2 are always included as Tantalum relies on the serverless-offline plug-in which provides this functionality.

Configuration

Tantalum will create a project using the generated .tantalum.yml file that is created, which will include all the supported serverless plug-ins. If you want to customise the generated project just edit the .tantalum.yml file BEFORE running the generate command.

Installation

The module should be installed globally using the following command: npm i -g tantalum

Commands

Tantalum can be invoked via the tantalum command or the alias tlm and should be run in the directory of the project you wish to add it to, or a new clean directory.

there are 3 available commands:

  • create
  • generate
  • helloworld

create

This will create the .tantalum.yml file that defines the serverless plug-ins and set up.

generate

This will create a serverless.yml file (or serverless-tlm.yml if serverless.yml exists) that defines the off-line serverless setup. It will also attempt to install the selected serverless plugins as dev dependencies in the package.json file, if it exists.

helloworld

This command will generate a complete example serverless offline project that uses the following offline services.

  • API Gateway
  • Lambda
  • S3
  • DynamoDb

This should be run in a new, blank directory after the create and generate commands to create the example..

The helloworld project that will be created has a simple spec:

  • I want to upload a JSON document to an S3 bucket (called upload-bucket)
  • When the document is uploaded a lambda is triggered that reads the document and puts a message on an SNS queue (upload-topic)
  • When the message is received another lambda will create a DynamoDB entry
  • Then using the API gateway the dynamoDb entries can be listed via a lambda function (http://localhost/list function)

History

Acknowledgements