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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kimia-framework/core

v0.10.89

Published

Kimia framework core

Downloads

19

Readme

Kimia Framework Core

Version 0.10.84 - BETA

A powerful Node.js/TypeScript framework for building scalable web servers with built-in database management, caching, plugin system, and multi-processing support.

Features

  • Database Integration: Built-in support for Sequelize ORM with SQLite
  • Caching System: Memory-based caching with Memcached support
  • Web Server: Express.js based HTTP server with HTTPS support
  • Plugin System: Extensible plugin architecture for custom functionality
  • Multi-Processing: Cluster management for high-performance applications
  • Storage Management: File storage with configurable drivers
  • Event Handling: Comprehensive event system for application lifecycle
  • Error Handling: Centralized error management with customizable handlers
  • Template Engine: Twig template engine integration
  • Authentication: JWT-based authentication system
  • Rate Limiting: Built-in rate limiting for API protection
  • Background Jobs: Scheduled task management
  • License Management: Built-in licensing system

Requirements

  • Node.js: 16 - 18
  • Platform: Linux
  • Package Manager: npm or pnpm

Quick Start

import { startMainApplication } from '@core';

startMainApplication('./settings.json', {
  Sequelize: require('sequelize'), // Optional custom Sequelize instance
  requireFn: require, // Optional custom require function
  disableAutoInitApps: false, // Disable automatic app initialization
  overrideSettings: {} // Override default settings
});

Configuration

Create a settings.json file in your project root:

{
  "database": {
    "dialect": "sqlite",
    "storage": "./database.sqlite"
  },
  "server": {
    "port": 3000,
    "host": "localhost"
  },
  "cache": {
    "enabled": true,
    "type": "memory"
  }
}

API Reference

startMainApplication(settingsJsonPath?, options?)

Starts the Kimia Cloud web server application.

Parameters

  • settingsJsonPath (optional): Path to JSON settings file
  • options (optional): Configuration object
    • Sequelize: Custom Sequelize instance
    • requireFn: Custom require function
    • disableAutoInitApps: Disable automatic app initialization
    • overrideSettings: Override default settings

Example

import { startMainApplication } from 'core';

startMainApplication('./config/settings.json', {
  overrideSettings: {
    DEBUG_MODE: true
  }
});

Global Components

The framework provides several global components accessible via the Global namespace:

  • Global.Database: Sequelize database instance
  • Global.Cache: Cache manager instance
  • Global.WebServer: HTTP web server instance
  • Global.StorageManager: File storage manager
  • Global.EventHandler: Event handling system
  • Global.ErrorHandler: Error handling system
  • Global.ClusterManager: Multi-processing cluster manager

Plugin System

Extend functionality with plugins:

// In your settings
{
  "USED_PLUGINS": ["my-plugin"]
}

Development

Build

npm run build

Development Mode

npm run dev

Testing

npm test

License

ISC License

Author

madkne

Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues.

Changelog

0.10.84 BETA

  • Initial public release
  • Core framework features
  • Plugin system
  • Multi-processing support
  • Database and caching integration