{"library":"lodash._createcompounder","title":"lodash internal createCompounder","description":"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.","language":"javascript","status":"deprecated","last_verified":"Sat Apr 25","install":{"commands":["npm install lodash._createcompounder"],"cli":null},"imports":["var createCompounder = require('lodash._createcompounder');","var _ = require('lodash');","var camelCase = require('lodash.camelcase');"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"var createCompounder = require('lodash._createcompounder');\n\n// Example: create a function that joins words with hyphens\nvar hyphenate = createCompounder(function(result, word, index) {\n  return result + (index ? '-' : '') + word.toLowerCase();\n});\n\nconsole.log(hyphenate('Hello World')); // 'hello-world'","lang":"javascript","description":"Shows how to use createCompounder to build a custom word-joiner function.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}