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

viduli

v0.0.37

Published

Viduli aims to be a complete framework for building & deploying (micro-)service backends. It is currently in alpha and not feature complete.

Downloads

12

Readme

Introduction

Viduli aims to be a complete framework for building & deploying (micro-)service backends. It is currently in alpha and not feature complete.

Viduli's core feature is that it provides an instant CRUD api for any mongoDB collection. You can run powerful mongoDB queries directly in the front end through the api using the api client. For example, if you have a mongodb collection of people that contains their name, age, and gender. You can find all females between 20 and 40 in just a single statement, without writing any backend code:

const peeps = await client.collection('people')
  .gt('age', 20)
  .lt('age', 40)
  .eq('gender', 'female')
  .find()

Yet, the flexibility of having a custom coded backend is not lost. You can still run arbitrary code, perform validation, and control access in this backend. You can read more about it in the documentation. (coming soon)

Getting Started

You can create and use a fully featured CRUD backend in viduli in less than 5 minutes:

On the backend

Prerequisites

Installation

npm install -g viduli

Start a new project

viduli init project-name
cd project-name
viduli dev

Create a collection of documents

viduli generate collection blogs

On the frontend (or any other service consumer)

Installation

npm install @viduli/client

Create the client

import { ViduliClient } from '@viduli/client'

const client = new ViduliClient()

Create a document

const doc = await client.collection('blogs').create({
  title: 'Hello World!',
  description: 'The world is my oyster.',
  author: 'Arthur C. Clarke'
})

Roadmap

Viduli TS Framework

  • [ ] Document Storage - MongoDb
    • [x] CRUD endpoints
    • [x] Access Policies
    • [x] Domain Events
    • [ ] Realtime subscriptions
    • [ ] Lifecycle hooks
  • [ ] Remote Procedure Calls - gRPC
  • [ ] Custom Routes - WIP
  • [ ] Authentication
    • [x] web3
    • [ ] password
    • [ ] magic link
  • [ ] Admin UI
  • [ ] TBD: Functions
  • [ ] Object Storage
  • [ ] Image Compression
  • [ ] Table Storage - Prisma Postgresql
    • [ ] CRUD endpoints

Viduli TS Client

  • [ ] Document Queries - WIP
  • [ ] Authentication

Viduli Go Framework and SDK

  • [ ] To be planned