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

appsby

v0.1.21-nightly-063

Published

Everything you need to make a modern app with Gatsby. Write server functions alongside client code, with an easy and powerful React-style API. Views, search, uploads, all out of the box.

Downloads

120

Readme

Why build this?

  • Building Lambdas for JAMStack apps can feel archaic when you're used to using beautiful, declarative tools everywhere else.
  • Traditional Node frameworks like Express aren't built for Lambda environments, and don't include cloud functionality out of the box.
  • Using Netlify or Vercel to create any non-trivial backend currently requires a stupid amount of time and a tonne of your own tooling.
  • Serverless Framework is great to build with, but introduces a lot of extra complexity.
  • Give startups and small orgs a framework that's fast to execute, and faster to build with than anything currently available.

What can I do with this?

  • Build your Lambda-based NodeJS back-end fast
  • Build your front-end fast (and with any React-based framework)
  • Avoid dealing with databases
  • Avoid the expenses of Firebase or AppSync
  • Avoid implementing typical boilerplate

What does it do?

  • Replaces ExpressJS and other similar frameworks for server-less Lambda-based environments
  • Gives you a super simple way to implement common app features (auth, views, apis, search, file upload/download)
  • Automatically implements your database from your code, using Fauna Cloud NoSQL DB as your backing store
  • Takes care of requests, caching, invalidation on the front-end (you can probably ditch your Global State Manager)

How do I do it?

  • ES6 Classes that work like React Components, plus a few lines in your Lambda Function Handler
  • Use the in-built front-end functions to handle your requests
  • Deploy to any Lambda-based Cloud Provider (AWS, Serverless.com, Netlify, Vercel, probably more)

I use GCP/Cloudflare/other function provider...

  • Appsby doesn’t use any tech specific to AWS, but it expects requests to be delivered in AWS Lambda Format
  • You’ll need to build a function to remap your function provider’s request object to AWS Lambda format
  • File operations are locked to S3 format. Feel free to use any provider that uses an S3-style API.

Deciding between AWS/Serverless.com and Netlify/Vercel:

  • Appsby can optionally use S3 bucket triggers for running your code
  • This is usually done post-upload if you have some data crunching to do
  • Netlify/Vercel don’t give you ability to trigger functions in this manner
  • There is a client-triggered event that will run post-upload, so many workflows won’t need this

Roadmap to v1:

  • Introduce compatibility with other UI Frameworks
  • Slim down the dependency list to only essentials
  • Reduce package size further
  • Refactors for tidying
  • Starter projects for Gatsby, Next and Serverless as API
  • Write guides

Acknowledgements:

Dicky Suryadi / DotNetify: This project draws substantial inspiration from Dicky's fantastic ASP.NET package, especially the view creation and state hydration system.

  • FaunaDB account, with a new database and an API key
  • AWS access/secret keys for managing S3 file operations
  • SMTP mail account, if you want to use built in Nodemailer
  • Some sort of infra that can run Lambdas