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 🙏

© 2025 – Pkg Stats / Ryan Hefner

beamjs

v1.5.4

Published

Enterprise full stack web development framework (Backend-JS - ExpressJS - AngularJS - MongoDB)

Downloads

172

Readme

beamjs Codacy Badge

0_00

Private IoB & generative AI IoC enterprise full-stack web development framework Built on BackendJS, ExpressJS, AngularJS (or Any), and MongoDB (or Many) — designed for behavior-first, declarative, and modular enterprise systems.


Introduction

  • BeamJS is built on top of Backend-JS, offering data controllers for both SQL and NoSQL databases. It also provides file system controllers that work with local or cloud storage.
  • These data controllers act as abstract adapters over ODM/ORM patterns from MongooseJS and SequelizeJS. Their purpose is to define a unified query API that works across different database engines—including both NoSQL and SQL.
  • BeamJS stands for the following technology stack:
    • Backend-JS – A Node.js module built on ExpressJS. Check it out.
    • ExpressJS – A minimal and flexible Node.js web application framework. Visit repo.
    • Angular (or Any) – A single-page front-end application framework. View here.
    • MongoDB (or Many) – A NoSQL database engine. More info.
  • BeamJS is a tech-agnostic framework that can be configured to work with different database engines and front-end frameworks.

Why BeamJS and Backend-JS?

  • Designed for agility, BeamJS supports highly configurable, modular, and adaptive systems.

  • BeamJS is an enterprise-grade, declarative framework for private IoB, enabling seamless and secure implementation of both organizational and customer behaviors.

  • It is especially powerful when building or integrating with AI agents, as it provides an IoC to embed intelligent behaviors within structured and secure workflows — making AI less indeterministic and more predictable.

  • Features include:

    • Database encryption for pseudonymization and GDPR compliance.
    • A built-in data mapping pipeline.
    • Support for CQRS architecture with mixed model definitions across different databases.
    • Horizontal/database multi-tenancy with automatic multi-DB connection mapping.
    • Deep route-based load balancing using an integrated queuing system.
    • A built-in static file server that decouples file sources (local or cloud) from HTTP static request handling.
    • Complex file streaming and transformations managed within the queue system and load balancer.
    • A built-in forward and reverse proxy server using the queue system for efficient load balancing, virtual hosting, and advanced domain routing.
    • Support for connectionless long-polling HTTP requests.
    • Event-driven architecture over mixed HTTP/WebSocket protocols for pulling and pushing data.
    • Abstract, secure WebSocket handling for scalable real-time events, including features like sub-rooms.
    • It is ready for event-sourcing applications.
  • Backend-JS introduces the concept of API Behaviors—organizational and customer behaviors implemented vertically using a customizable enterprise algorithmic mental model. This model follows a Behavior-First approach inspired by BDD. Read more.

  • It supports a microservices architecture by vertically implementing Behaviors (APIs), along with a built-in service abstraction layer.

  • The framework encourages defining the API contract first. These contracts can then be viewed by integrators for straightforward REST integration. This Behavioral model combines behavioral science, API-first, and headless architecture principles to deliver highly robust and modern applications.

  • Integration between applications built with BeamJS and Backend-JS is akin to internal function calls or RPC in distributed systems. It supports SOAP-like behavior on top of REST APIs and provides several front-end integration libraries:

  • The framework represents a state-of-the-art implementation of programming paradigms shaped by great human minds:

    • BeamJS and its sub-frameworks are inspired by declarative programming and functional programming.
    • BeamJS SDKs draw on principles from agent-oriented programming and meta-programming.
  • The framework powers the Behaviors Engine for software engineering:

    • Chain-of-Thought (CoT) for planning sequential system operations.
    • Tree-of-Thoughts (ToT) for structuring hierarchical system behaviors.
    • Behavior-first programming as an executable translation of behavioral models — a key reducer of essential complexity in modern agile, AI-assisted software development.
    • High-level declarative abstraction that remains tech-agnostic to isolate low-level technologies and minimize accidental complexity — the main source of LLM hallucinations and security violations.
  • The results:

    • Requires far less context as input to SLM — no need for folders of specs, just correct requirements or user stories.
    • Generates highly deterministic, hallucination-free, durable code — an asset, not a debt.
    • Minimal or no code review or debugging is required.
    • Produces very compact output, thanks to declarative programming — consuming far fewer tokens.
    • Operates as a single-step generation, not a multi-step agent consuming extra compute and time.
    • Enables a true inversion of control for GenAI, embedding security and compliance deeply for enterprise-grade performance.
    • A starter can build like an expert without losing deep technical understanding, thanks to transparent declarative abstraction.
    • Domain context boundaries are fully respected yet open for modifiability — addressing the gap left by traditional DDD in the AI era.
    • It’s full-stack generation — backend, frontend, mobile, IoT, services, and more — all seamlessly integrated from the start, thanks to declarative agent SDKs.
    • The generated code supports incremental architecture — switch from request–response to real-time or multi-tenancy with a single line of code. With a truly tech-agnostic approach, you write once and run on any database or service, supporting diverse modern architectures.

It isn’t a replacement for developers — it empowers them to focus on iterative development and validation testing.


0_00


Benchmarking

  • Codacy static analysis rates the framework between A and C.
  • Load testing of applications built with BeamJS reached over 10,000 sessions per minute and more than 1,000 concurrent connections on a 1 GB RAM / 1 vCPU AWS EC2 instance.
  • The total number of dependencies is under 30, with 0 or 1 known vulnerabilities.

Starter project

Explore a sample project with usage examples:

👉 https://github.com/QuaNode/BeamJS-Start


Documentation

Table of Contents

📄 License