Registry / serialization / lodash._createcompounder

lodash._createcompounder

JSON →
library3.0.0jsnpmunverified

An internal lodash utility module that creates a function for combining words using a specified separator and callback. This is part of lodash's modular build system for v3.0.0 only. It is not intended for public use; developers should use the full lodash package or lodash-es instead. The module is deprecated in favor of lodash v4+, which no longer exposes this internal function as a standalone package.

npm install lodash._createcompounder
INSTALL
IMPORT
SIG · LODASH._CREATECOMP
L
lodash._createcompounder
serializationjavascriptv3.0.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

createCompounder
var createCompounder = require('lodash._createcompounder');
import createCompounder from 'lodash._createcompounder';
CJS-only; ESM import not available. Use full lodash package for ESM support.
lodash
var _ = require('lodash');
require('lodash._createcompounder').createCompounder
lodash._createcompounder exports a single function, not a namespaced object. Use full lodash for public API.
camelCase
var camelCase = require('lodash.camelcase');
var camelCase = require('lodash._createcompounder');
lodash._createcompounder is an internal dependency; use lodash.camelcase for public camelCase functionality.

Shows how to use createCompounder to build a custom word-joiner function.

var createCompounder = require('lodash._createcompounder'); // Example: create a function that joins words with hyphens var hyphenate = createCompounder(function(result, word, index) { return result + (index ? '-' : '') + word.toLowerCase(); }); console.log(hyphenate('Hello World')); // 'hello-world'
Debug
Known issues
deprecatedThis package is an internal lodash module for v3.0.0 and is deprecated. Do not use in new projects.
fix
Use the full lodash package (v4+) or lodash-es for ESM.
affects: 3.0.0
breakinglodash v4 removed all internal modular packages like lodash._createcompounder. They are not available in v4.
fix
Upgrade to lodash v4 and use public API functions like _.camelCase or _.kebabCase.
affects: >=4.0.0
gotchaThe function exported is not documented in lodash public docs; usage may break without notice.
fix
Avoid using internal packages; use lodash public API.
affects: 3.0.0
Errors
Common errors & fixes
Cannot find module 'lodash._createcompounder'
Package version 3.0.0 only; not available in later versions.
fix
Install version 3.0.0: npm install lodash._createcompounder@3.0.0
TypeError: createCompounder is not a function
Incorrect import: requiring the package multiple times or using ESM style.
fix
Use: var createCompounder = require('lodash._createcompounder');
Upgrade
Version history
3.0.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
lodash._createcompounder — npm install lodash._createcompounder · libregistry