demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/lodash-4.17.20/_createCompounder.js

Path
demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/lodash-4.17.20/_createCompounder.js
Status
scanned
Type
file
Name
_createCompounder.js
Extension
.js
Programming language
JavaScript
Mime type
text/plain
File type
ASCII text
Tag

      
    
Rootfs path

      
    
Size
635 (635 bytes)
MD5
a979cd3acef512f716756dc289b40a28
SHA1
195c16455366a158b8b855547fafdc602f0be9e9
SHA256
43758b67806c676c6d9a38ebbb4263147cfeaa036cb8dc56d136b36fad262a51
SHA512

      
    
SHA1_git
8d4cee2cd3e3881ef65ee7df00bc0df56071ba07
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
_createCompounder.js | 635 bytes |

var arrayReduce = require('./_arrayReduce'), deburr = require('./deburr'), words = require('./words'); /** Used to compose unicode capture groups. */ var rsApos = "['\u2019]"; /** Used to match apostrophes. */ var reApos = RegExp(rsApos, 'g'); /** * Creates a function like `_.camelCase`. * * @private * @param {Function} callback The function to combine each word. * @returns {Function} Returns the new compounder function. */ function createCompounder(callback) { return function(string) { return arrayReduce(words(deburr(string).replace(reApos, '')), callback, ''); }; } module.exports = createCompounder;
Package URL License Primary language
pkg:npm/acme-demo-app@1.0.0 JavaScript
pkg:npm/lodash@4.17.20 mit JavaScript