STAXIS

staxis js platform -> gitlab project
staxis on gitlab gitlab project 🏷️ V-0.X-Beta
We’re actively updating this manual. Content and layout may change as we refine it.

npm or Staxis?

In short: both!
In the Staxis vision, npm extends the capabilities available in Node.js. Staxis organizes your application into packs and layers, with explicit responsibilities, execution order, and integrated security controls.

Different responsibilities

npm supplies external dependencies, such as fs-extra. Staxis structures the application built with them, using your own scripts, official packs, or community packs, without modifying Node.js.

Being able to install almost anything as a dependency does not mean that every application component belongs in node_modules. Dependency management is often made to carry another responsibility: organizing the application itself.

A dependency tree describes what your software needs. It does not, by itself, define how your application is assembled, what each component exposes, who may access it, or which integrity and access rules apply to its stack.

Staxis makes those responsibilities part of the application's declared structure.

What a Staxis pack adds

Each pack declares its identity, runtime role, dependencies, configuration, and permissions. The Core prepares the configured stack in order.

Library packs provide shared helpers. Managed layers occupy named runtime slots and expose API bundles that other layers request through the Vault, under declared access permissions. Packs receive shared Core equipment, while lifecycle methods govern attachment and deactivation.

Integrity checks and Guardian checks on supported imports and file access follow the selected security profile. These application controls complement dependency checks and the protections provided by Node.js and the host.

The Manager handles pack installation and export. Roll profiles let you provision multiple packs together.

Keep dependencies and application code distinct

In the Staxis layout, node_modules and the project directory share the same application root. npm manages external dependencies in node_modules; Staxis organizes application packs inside project.

This is an architectural separation, not filesystem isolation. Dependencies running with sufficient process permissions can still read or modify application files. Keeping dependencies limited and carefully reviewed remains essential.

Staxis does not remove external dependency trees. It gives your application components a dedicated structure, so they can be managed and reused without becoming additional npm dependencies.

npm supplies the capabilities. Staxis structures your application and governs how its managed layers participate and interact.

How Staxis loads packs

This manual explains the full process. In broad terms:

  • Create or load a pack: run node project manager and choose init to generate a starting template. Use install to install an existing pack, or unroll to provision an entire stack from a .roll profile through the same Manager.

  • Add your logic: implement the pack and include it in the configured stack. Staxis prepares it in the declared order when the application starts.

  • Apply the declared controls: according to the selected security profile, Staxis checks covered file integrity, supported imports and file access, and authorization for managed layer APIs. These checks help detect unexpected changes and enforce declared boundaries.

  • Reuse and share: use the Manager to install and export your packs, official packs, or community publications, subject to their respective licences and access requirements.

From your scripts to a structured application stack, with integrated controls.

Continue with How it works for the architecture, Extend the stack for pack development, Core equipment for shared functionality, and Security Profiles for the active controls.

Welcome to Staxis.