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

@azimutt/gateway

v0.1.7

Published

A Gateway to proxy database access for Azimutt frontend

Downloads

725

Readme

Azimutt Gateway

Small Node server to proxy database connections and enable browsers to access database features.

The other way is to use the desktop app for this, keeping everything local and accessing local databases.

Set Up

  • copy .env.example to .env and adapt values
  • run npm install to install dependencies
  • start dev server with npm start

Env vars

Loaded from .env file, with schema validation

Backend API Development

There are a number of handy commands you can run to help with development.

| Command | Action | |----------------------|-------------------------------------------------------------------| | npm start | Run the server in dev mode, automatically restarts on file change | | npm run build | Compile TypeScript to JavaScript | | npm run preview | Start JavaScript from 'build' directory | | npm test | Run unit tests (run npm run build before) | | npm run test:watch | Run backend tests in watch mode, running on changed test files | | npm run lint | Run eslint | | npm run lint:fix | Run eslint in fix mode |

CI

Run tests on push/PR to main branch Check .github/workflows/CI.yml

Publish

  • update package.json and src/version.ts versions
  • update lib versions (npm run update + manual) & run npm install
  • test with npm run dry-publish and check azimutt-gateway-x.y.z.tgz content
  • launch npm publish --access public

View it on npm.

Dev

If you need to develop on multiple libs at the same time (ex: want to update a connector and try it through the CLI), depend on local libs but publish & revert before commit.

  • Depend on a local lib: npm install <path>, ex: npm install ../libs/connector-postgres
  • "Publish" lib locally by building it: npm run build