Appearance
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/utilsUsage
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:
- Common - Common utilities
- Array - Working with arrays
- Function - Function utilities
- String - Working with strings
- Object - Working with objects
- Date - Working with dates
- Event - Event management
- GUID - GUID generation
- LocalStorage - Working with LocalStorage
- Promise - Promise utilities
- API - HTTP request utilities
Documentation Generation
This documentation was automatically generated with Kilo Code assistant using Qwen3-Coder-480B model.