Skip to main content
Home

@zanix/core@0.1.4
Built and signed on GitHub Actions

Zanix Core is a foundational library within the Zanix ecosystem — a collection of tools designed to run Zanix applications and define the base configuration for Zanix projects.

This package works with Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 weeks ago (0.1.4)
class Zanix

Class representing the Zanix server management. This class provides static methods to start and stop the servers.

  • start: Initializes the project servers and performs additional configurations. It executes classes based on their startMode and initializes internal servers and dependencies of the library, depending on the handlers defined in the project.

  • stop: Stops all the initialized servers (kills them).

Static Properties

Initializes the project servers, performs additional configurations, and executes classes based on their startMode. Depending on the handlers created in the project, this method will:

  • Initialize necessary servers and internal dependencies for the project to run.
  • Execute classes in accordance with their startMode.
  • Perform other required initial configurations to ensure the system is ready.

Alias for bootstrap. Bootstraps all configured servers.

Stops all initialized servers and kills the associated processes. This method ensures that all running servers are stopped and resources are freed.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@zanix/core

Import symbol

import Zanix from "@zanix/core";
or

Import directly with a jsr specifier

import Zanix from "jsr:@zanix/core";

Add Package

pnpm i jsr:@zanix/core
or (using pnpm 10.8 or older)
pnpm dlx jsr add @zanix/core

Import symbol

import Zanix from "@zanix/core";

Add Package

yarn add jsr:@zanix/core
or (using Yarn 4.8 or older)
yarn dlx jsr add @zanix/core

Import symbol

import Zanix from "@zanix/core";

Add Package

vlt install jsr:@zanix/core

Import symbol

import Zanix from "@zanix/core";

Add Package

npx jsr add @zanix/core

Import symbol

import Zanix from "@zanix/core";

Add Package

bunx jsr add @zanix/core

Import symbol

import Zanix from "@zanix/core";