Socket
Book a DemoInstallSign in
Socket

jizy-factory

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jizy-factory

A lightweight JS library

2.1.3
latest
Source
npmnpm
Version published
Weekly downloads
35
-81.58%
Maintainers
1
Weekly downloads
 
Created
Source

Jizy Factory

The Jizy Factory library provides a unified interface for common frontend tasks, including messaging, AJAX, i18n, user/session management, and more. I designed to simplify and standardize my web application development. It's easily extensible.

Features

  • Messaging and notifications
  • AJAX/fetch helpers
  • Internationalization (i18n)
  • User session/local storage management
  • DOM event helpers (ready, resize, scroll)
  • .. Look into each JiZy module for more features

Example Usage

import Factory from './lib/js/Factory.js';

const app = new Factory();
app.init(true, '/myapp/', 'en');

// Show a message
app.messenger('Welcome!', 'success');

// Fetch JSON data
app.json('/api/data', (response) => {
  console.dir('Data:', response);
});

// Translate a key
app.i18n.addTranslations('en', {
  'hello_world': 'Hello, World!'
});
const hello = app.translate('hello_world');

// Listen for DOM ready
app.ready(() => {
  console.log('DOM is ready!');
});

Keywords

JDZ

FAQs

Package last updated on 29 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.