or run

npx @tessl/cli init
Log in

Version

Tile

Overview

Evals

Files

docs

array-functions.mdcollection-functions.mdfunction-utilities.mdindex.mdobject-functions.mdtype-checking.md
tile.json

tessl/npm-lodash-modularized

The complete modularized lodash v3.0.3 library exported as standalone npm packages for utility functions, collections, objects, arrays, and more.

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/lodash-modularized@3.0.x

To install, run

npx @tessl/cli install tessl/npm-lodash-modularized@3.0.0

index.mddocs/

Lodash Modularized v3.0.3

The complete modularized lodash v3.0.3 library exported as standalone npm packages. This collection provides 169 individual utility functions organized into logical categories for data manipulation, functional programming, type checking, and common development tasks.

Package Information

  • Package Collection: lodash-modularized
  • Package Type: npm (169 individual packages)
  • Language: JavaScript
  • Version: 3.0.3
  • Installation: Install individual modules as needed (e.g., npm install lodash.map)

Core Imports

Each lodash function is available as a separate npm package:

// Individual function imports
var map = require('lodash.map');
var filter = require('lodash.filter');
var debounce = require('lodash.debounce');
var clone = require('lodash.clone');

For ES modules (when available):

import map from 'lodash.map';
import filter from 'lodash.filter';
import debounce from 'lodash.debounce';
import clone from 'lodash.clone';

Basic Usage

var map = require('lodash.map');
var filter = require('lodash.filter');
var debounce = require('lodash.debounce');

// Collection operations
var numbers = [1, 2, 3, 4, 5];
var doubled = map(numbers, function(n) { return n * 2; });
// => [2, 4, 6, 8, 10]

var evens = filter(numbers, function(n) { return n % 2 === 0; });
// => [2, 4]

// Function utilities
var debouncedSave = debounce(function() {
  console.log('Saving...');
}, 300);

// Object operations
var assign = require('lodash.assign');
var merged = assign({}, { a: 1 }, { b: 2 }, { c: 3 });
// => { a: 1, b: 2, c: 3 }

Architecture

The modularized lodash architecture provides:

  • Individual Packages: Each function is a standalone npm package with minimal dependencies
  • Optimized Bundle Size: Import only the functions you need to minimize bundle size
  • Consistent API: All functions follow the same parameter patterns and conventions
  • Internal Modules: Private utility functions (prefixed with _) handle implementation details
  • Cross-Dependencies: Functions reuse internal utilities for consistency and efficiency

Capabilities

Array Functions

Essential array manipulation utilities for transforming, filtering, and organizing data.

// Core array functions
function chunk(array, size);
function compact(array);
function difference(array, ...values);
function drop(array, n);
function flatten(array, isDeep);
function indexOf(array, value, fromIndex);
function intersection(...arrays);
function uniq(array, iteratee);

Array Functions

Collection Functions

Powerful iteration and data processing functions that work with arrays, objects, and strings.

// Core collection functions
function each(collection, iteratee);
function every(collection, predicate);
function filter(collection, predicate);
function find(collection, predicate);
function map(collection, iteratee);
function reduce(collection, iteratee, accumulator);
function some(collection, predicate);

Collection Functions

Object Functions

Object manipulation utilities for merging, transforming, and analyzing object properties.

// Core object functions
function assign(object, ...sources);
function clone(value, isDeep);
function keys(object);
function merge(object, ...sources);
function omit(object, ...props);
function pick(object, ...props);
function values(object);

Object Functions

Function Utilities

Higher-order functions for controlling execution, binding context, and creating specialized functions.

// Core function utilities
function bind(func, thisArg, ...partials);
function curry(func, arity);
function debounce(func, wait, options);
function memoize(func, resolver);
function once(func);
function partial(func, ...partials);
function throttle(func, wait, options);

Function Utilities

Type Checking (Lang)

Comprehensive type checking utilities for runtime type validation and detection.

// Core type checking functions
function isArray(value);
function isBoolean(value);
function isDate(value);
function isEmpty(value);
function isEqual(value, other);
function isFunction(value);
function isNull(value);
function isNumber(value);
function isObject(value);
function isString(value);
function isUndefined(value);

Type Checking

String Functions

String manipulation and formatting utilities for text processing and transformation.

// Core string functions
function camelCase(string);
function capitalize(string);
function escape(string);
function kebabCase(string);
function pad(string, length, chars);
function snakeCase(string);
function template(string, options);
function trim(string, chars);

String Functions

Math Functions

Mathematical operations and number utilities for calculations and comparisons.

// Core math functions
function add(augend, addend);
function max(array);
function min(array);
function random(lower, upper, floating);
function sum(array);

Math Functions

Utility Functions

General-purpose utilities for common programming tasks and helper functions.

// Core utility functions
function constant(value);
function identity(value);
function noop();
function now();
function range(start, end, step);
function times(n, iteratee);
function uniqueId(prefix);

Utility Functions

Package List

Public API Modules (169 total)

Array Functions (37): chunk, compact, difference, drop, dropRight, dropRightWhile, dropWhile, fill, findIndex, findLastIndex, first, flatten, flattenDeep, indexOf, initial, intersection, last, lastIndexOf, pull, pullAt, remove, rest, slice, sortedIndex, sortedLastIndex, take, takeRight, takeRightWhile, takeWhile, union, uniq, unzip, without, xor, zip, zipObject

Collection Functions (27): at, countBy, every, filter, find, findLast, findWhere, forEach, forEachRight, groupBy, includes, indexBy, invoke, map, max, min, partition, pluck, reduce, reduceRight, reject, sample, shuffle, size, some, sortBy, where

Object Functions (26): assign, clone, cloneDeep, create, defaults, findKey, findLastKey, forIn, forInRight, forOwn, forOwnRight, functions, has, invert, keys, keysIn, mapValues, merge, omit, pairs, pick, result, transform, values, valuesIn

Function Utilities (21): after, ary, before, bind, bindAll, bindKey, curry, curryRight, debounce, defer, delay, flow, flowRight, memoize, negate, once, partial, partialRight, rearg, throttle, wrap

Type Checking (50): isArguments, isArray, isBoolean, isDate, isElement, isEmpty, isEqual, isError, isFinite, isFunction, isMatch, isNaN, isNative, isNull, isNumber, isObject, isPlainObject, isRegExp, isString, isTypedArray, isUndefined, plus type-specific checking utilities

String Functions (24): camelCase, capitalize, deburr, endsWith, escape, escapeRegExp, kebabCase, pad, padLeft, padRight, parseInt, repeat, snakeCase, startsWith, template, templateSettings, trim, trimLeft, trimRight, trunc, unescape, words

Math Functions (3): max, min, sum

Utility Functions (5): constant, identity, matches, mixin, noop, now, property, propertyOf, range, times, uniqueId

Internal/Private Modules (48)

Internal utility modules prefixed with _ that handle implementation details and are not intended for direct use.