Skip to content

Instantly share code, notes, and snippets.

View Misterion96's full-sized avatar
🏗️
I may be slow to respond.

Maksim Dolgih Misterion96

🏗️
I may be slow to respond.
  • Russia, Ekaterinburg
View GitHub Profile
Zone Version Sum Versions 1k+ Total Versions Status Release Year
Modern v20 624125 21 26 Latest 2024
Transition v19 798266 27 34 LTS 2024
Transition v18 518454 13 17 LTS 2024
Transition v17 321217 28 33 LTS 2023
Classic v16 190660 12 15 LTS 2023
Classic v15 154288 15 18 LTS 2022
Classic v14 132782 20 23 LTS 2022
Classic v13 75678 18 22 Legacy 2021
Classic v12 57184 16 22 Legacy 2021
Angular Versions Sum 1k+ Market Share Percent
🚀 Modern (v20+) v20 624125 19
🔄 Transition (v17-19) v17-v19 1637937 50
📦 Classic (≤v16) v2-v16 1015296 31
@Misterion96
Misterion96 / meta-pipe-angular.ts
Created September 15, 2025 07:46
Meta-pipe Angular. Keep your logic and function clean, and simply use this meta-pipe, which will perform the same function as a regular pipe.
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'map',
})
export class MapPipe implements PipeTransform {
public transform<T extends unknown[], V, R>(
value: V,
mapFn: (...args: [V, ...T]) => R,
...args: T