
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@nasriya/atomix
Advanced tools
Made with ❤️ in Palestine 🇵🇸
A lightweight, zero-dependency utility library for TypeScript and JavaScript, providing modular, well-typed helpers across common domains like strings, arrays, numbers, and time. Designed for consistency, reusability, and seamless integration in Node.js and modern server-side environments.
[!IMPORTANT]
🌟 Support Our Open-Source Development! 🌟 We need your support to keep our projects going! If you find our work valuable, please consider contributing. Your support helps us continue to develop and maintain these tools.
Every contribution, big or small, makes a difference. Thank you for your generosity and support!
npm i @nasriya/atomix
Import in ES6 module
import atomix from '@nasriya/atomix';
Import in CommonJS (CJS)
const atomix = require('@nasriya/atomix').default;
Import the default instance and use the modular helper methods grouped by domain: Here's a quick example:
import atomix from '@nasriya/atomix';
// Normalize a file path
const normalizedPath = atomix.path.normalizePath('/Users/Ahmad/Docs/../Downloads');
// Check if a value is a string
if (atomix.valueIs.string('hello world')) {
console.log('Confirmed string!');
}
You can access each domain via the main atomix instance followed by the domain name. For example:
atomix.dataTypes; // Access the Data Types domain
atomix.valueIs; // Access the Value Is domain for generic validations
atomix.fs; // Access the File System domain
| Domain (Module) | Description | Examples |
|---|---|---|
Data Types (dataTypes) | Helpers for arrays, strings, numbers, and more | Examples |
Value Is (valueIs) | Generic validations & type guards across multiple domains, including instanceOf and more | Examples |
Path (path) | File and directory path utilities | Examples |
File System (fs) | Sync and async file operations, access checks | Examples |
HTTP (http) | HTTP request/response utilities | Examples |
Network (networks) | Network utilities | Examples |
Runtime (runtime) | Runtime environment helpers | Examples |
General (utils) | Common utilities and guards | Examples |
Tools (tools) | Advanced utility classes such as TasksQueue for managing async workflows | Examples |
This package is built and tested on Node.js v22.16.x and later.
Earlier versions of Node.js are not guaranteed to be compatible.
Also supports:
This software is licensed under the Nasriya Open License (NOL), version 1.0. Please read the license from here.
FAQs
Composable helper functions for building reliable systems
The npm package @nasriya/atomix receives a total of 3 weekly downloads. As such, @nasriya/atomix popularity was classified as not popular.
We found that @nasriya/atomix demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.