Skip to content

bodynarf/utils

Welcome to the documentation for the bodynarf/utils library - a collection of useful utilities for JavaScript/TypeScript application development.

About the Library

bodynarf/utils is a collection of functions and utilities that help simplify everyday development tasks such as working with arrays, objects, strings, dates, promises, and other data types.

Installation

bash
npm install @bodynarf/utils

Usage

javascript
import { isNullOrUndefined, slugify } from "@bodynarf/utils";

// Check for null or undefined
console.log(isNullOrUndefined(null)); // true
console.log(isNullOrUndefined(undefined)); // true
console.log(isNullOrUndefined(0)); // false

// Convert string to URL-friendly format
console.log(slugify("Hello World!")); // "hello-world"

Documentation Sections

Explore the different sections of the documentation to learn more about the available functions:

Documentation Generation

This documentation was automatically generated with Kilo Code assistant using Qwen3-Coder-480B model.