GitHub

Documentation

Complete guide to using Lopos utility functions in your JavaScript projects.

Getting Started
Learn how to install and set up Lopos in your project
Read More
Examples
Real-world examples and use cases
Read More

Function Reference

test()
Flexible test function for various comparison and validation operations
lopif()
Complex conditional execution function mimicking 'if-else' logic
deepMerge()
Deeply merges multiple objects/arrays with customizable behavior
flexibleDate()
Parse, validate, adjust, and format dates flexibly
advancedThrottle()
Throttle functions with advanced controls and cancellation
deepClone()
Deep clone any value including complex types and circular references
smartMap()
Async-aware map with concurrency control and filtering
objectDiff()
Find differences between two objects with optional depth control
flattenObject()
Flatten nested objects into dot notation keys
groupBy()
Group array items by a provided function or key
smartTemplate()
Mini template engine with fallbacks, conditionals, and async support