Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions manifests/micro-utilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
"description": "You can use a combination of `filter` and `includes` to calculate the difference between two arrays.",
"example": "const difference = (a, b) => a.filter((item) => !b.includes(item))"
},
"snippet::array-flatten": {
"id": "snippet::array-flatten",
"type": "simple",
"description": "You can use `Array.prototype.flat` with `Infinity` as an argument to fully flatten an array.",
"example": "array.flat(Infinity)"
},
"snippet::array-from-count": {
"id": "snippet::array-from-count",
"type": "simple",
Expand Down Expand Up @@ -319,6 +325,11 @@
"moduleName": "arr-diff",
"replacements": ["snippet::array-difference"]
},
"arr-flatten": {
"type": "module",
"moduleName": "arr-flatten",
"replacements": ["snippet::array-flatten"]
},
"array-back": {
"type": "module",
"moduleName": "array-back",
Expand Down