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)

Zanix - Core

Version Release License


🧭 Table of Contents


🧩 Description

Zanix Core is the foundational library of the Zanix ecosystem β€” a modular toolkit designed to power Zanix applications and provide the core configuration layer for all Zanix-based projects.

It serves as the entry point for initializing, configuring, and managing core application services within the Zanix framework.


βš™οΈ Features

  • Core utilities to initialize and manage Zanix projects
  • Built-in support for REST, GraphQL, and WebSocket servers
  • Simple and scalable project bootstrapping

πŸ“¦ Installation

Install Zanix Core in your project using Deno:

import core from 'jsr:@zanix/core@[version]'

Important Setup Notes:

  1. Install Deno Ensure Deno is installed on your system. Follow the official guide: Deno Installation Guide

  2. VSCode Extension (Recommended) For syntax highlighting, IntelliSense, and linting, install the Deno extension from the Visual Studio Code Marketplace.

  3. Add Deno to PATH Make sure Deno is accessible from your system’s terminal:

    • macOS/Linux: Add to your shell configuration file (e.g., .bashrc, .zshrc):

      export PATH="$PATH:/path/to/deno"
      
    • Windows: Add the Deno folder to your PATH via Environment Variables.


πŸš€ Basic Usage

Example of how to bootstrap a Zanix project:

import Zanix from 'jsr:@zanix/core@[version]'

// Initialize your project
await Zanix.bootstrap({
  server: {
    rest: { onCreate, ...options },
    graphql: { onCreate, ...options },
    socket: { onCreate, ...options },
  },
})

For more advanced examples and configuration options, refer to the full documentation.


πŸ“š Documentation

Find detailed documentation, guides, and examples at: πŸ”— https://github.com/zanix-io


🀝 Contributing

Contributions are always welcome! To get started:

  1. Open an issue for bug reports or feature requests.
  2. Fork the repository and create a feature branch.
  3. Implement your changes following the project’s guidelines.
  4. Add or update tests as needed.
  5. Submit a pull request with a clear and descriptive summary.

πŸ•’ Changelog

Check the CHANGELOG for a complete version history and release notes.


βš–οΈ License

This project is licensed under the MIT License. See LICENSE for more information.


πŸ”— Resources


Developed with ❀️ by Ismael Calle | @iscam2216

Built and signed on
GitHub Actions

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 * as core from "@zanix/core";
or

Import directly with a jsr specifier

import * as core 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 * as core 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 * as core from "@zanix/core";

Add Package

vlt install jsr:@zanix/core

Import symbol

import * as core from "@zanix/core";

Add Package

npx jsr add @zanix/core

Import symbol

import * as core from "@zanix/core";

Add Package

bunx jsr add @zanix/core

Import symbol

import * as core from "@zanix/core";