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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@nasriya/atomix

v1.0.25

Published

Composable helper functions for building reliable systems

Readme

N|Solid

Atomix.

NPM License NPM Version NPM Unpacked Size Last Commit Status

Visit us at www.nasriya.net.

Made with ❤️ in Palestine 🇵🇸


Overview

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.

Click here to support us!

Every contribution, big or small, makes a difference. Thank you for your generosity and support!


Installation

npm i @nasriya/atomix

Importing

Import in ES6 module

import atomix from '@nasriya/atomix';

Import in CommonJS (CJS)

const atomix = require('@nasriya/atomix').default;

Usage Overview

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!');
}

Detailed Domain Usage

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 |


Compatibility

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:

  • Bun (tested on v1.2.15+)
  • Deno (untested, may require polyfills)

License

This software is licensed under the Nasriya Open License (NOL), version 1.0. Please read the license from here.