Initial commit, 90% there

This commit is contained in:
mdares
2025-12-02 16:27:21 +00:00
commit 755028af7e
7353 changed files with 1759505 additions and 0 deletions

21
node_modules/reduce-flatten/lib/reduce-flatten.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
'use strict'
/**
* Flatten an array into the supplied array.
*
* @module reduce-flatten
* @example
* var flatten = require('reduce-flatten')
*/
module.exports = flatten
/**
* @alias module:reduce-flatten
* @example
* > numbers = [ 1, 2, [ 3, 4 ], 5 ]
* > numbers.reduce(flatten, [])
* [ 1, 2, 3, 4, 5 ]
*/
function flatten (prev, curr) {
return prev.concat(curr)
}