array-indexer
Advanced tools
Comparing version 1.0.1 to 1.0.2
module.exports = index; | ||
/** | ||
* | ||
* @template T | ||
* @param {T[]} array | ||
* @param {string[]} fieldList | ||
* @return { {[k in typeof fieldList[number]]: T[]} } | ||
*/ | ||
function index (array, fieldList) { | ||
@@ -4,0 +11,0 @@ var idx = {} |
{ | ||
"name": "array-indexer", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Create indexes based on arrays of objects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11780
258