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

@xbibzlibrary/obfuscator

v1.0.1

Published

Advanced polymorphic obfuscation library for JavaScript, JSON and CSS with multi-layer encryption and browser compatibility

Downloads

6

Readme

Xbibz Library Obfuscator

Made by Xbibz Official License: MIT NPM Version

Overview

Xbibz Library Obfuscator represents an advanced code protection solution designed for JavaScript, JSON, and CSS assets. Built with polymorphic and metamorphic technology, this tool provides enterprise-grade obfuscation that transforms your code into a highly secure digital fortress, offering protection far beyond standard obfuscation methods.

View Live Demo | Read Documentation

Key Features

Polymorphic & Metamorphic Engine — The core engine continuously transforms code structure, making reverse engineering exceptionally difficult through dynamic code mutation.

Military-Grade AES Encryption — Critical data and strings are protected using multi-layered AES encryption, ensuring maximum security for sensitive information.

Multi-Format Support — Comprehensive protection across JavaScript, JSON, and CSS files within a unified toolset, streamlining your security workflow.

Anti-Debug & Anti-Tamper Protection — Built-in mechanisms actively prevent debugging attempts and unauthorized code modifications, creating self-defending code.

Cross-Browser Compatibility — Engineered to run seamlessly across modern browsers with intelligent fallback support for legacy environments.

Performance Monitoring — Integrated performance tracking allows you to monitor the impact of obfuscation on runtime efficiency.

Batch Processing Capability — Process multiple files simultaneously through an efficient batch operation system, ideal for large-scale projects.

Installation

The installation process has been streamlined through automated scripts. Follow these steps to set up your development environment.

Clone the Repository

Begin by cloning the repository to your local machine:

git clone https://github.com/xbibzlibrary/obfuscator.git
cd xbibz-obfuscator

Initialize Project Structure

Execute the provided setup script to automatically generate the complete project structure:

chmod +x create.sh
./create.sh

Build the Library

Once the project structure is established, compile all source files into the distribution folder:

node build.js

The build process generates both standard and minified versions of the library in the dist/ directory, ready for integration into your projects.

Usage Examples

JavaScript Obfuscation

The following example demonstrates how to obfuscate JavaScript code with maximum security settings:

const XbibzObfuscator = require('./dist/xbibz-obfuscator');
const obfuscator = XbibzObfuscator.create({ obfuscationLevel: 9 });

const jsCode = 'function haloDunia() { console.log("Ini kode rahasia!"); }';
const obfuscatedJS = obfuscator.obfuscateJavaScript(jsCode);

console.log(obfuscatedJS);
// Returns: Heavily obfuscated and secured JavaScript code

JSON Obfuscation

Protect sensitive JSON data structures and values through encryption:

const jsonCode = '{ "user": "Xbibz", "password": "super_secret_123" }';
const obfuscatedJSON = obfuscator.obfuscateJSON(jsonCode);

console.log(obfuscatedJSON);
// Returns: Encrypted JSON with protected structure and values

CSS Obfuscation

Generate obfuscated CSS with randomized class names and corresponding JavaScript mapping:

const cssCode = '.rahasia { color: red; } #super-rahasia { display: none; }';
const result = obfuscator.generateObfuscatedCSS(cssCode);

console.log(result.css);        // Obfuscated CSS with randomized selectors
console.log(result.javascript); // JavaScript code to apply obfuscated CSS
console.log(result.mapping);    // Mapping between original and obfuscated names

Project Architecture

The library is organized into a modular structure that separates concerns and maintains code clarity:

xbibz-obfuscator/
├── src/
│   ├── core/               Core engine (polymorphic, encryption systems)
│   ├── obfuscators/        Format-specific obfuscation logic (JS, JSON, CSS)
│   ├── utils/              Supporting utilities (cryptography, string manipulation)
│   └── browser/            Browser compatibility layer
├── dist/                   Compiled library files
├── package.json            Project configuration and dependencies
└── create.sh               Automated project setup script

Support & Community

If you find this project valuable and would like to support continued development, consider contributing through Ko-fi. You can also follow our content and updates on TikTok for the latest news and tutorials.

Ko-fi TikTok

License

This project is released under the MIT License. See the LICENSE file for complete details.


Developed with dedication by Xbibz Official