1.3.0 • Published 1 year ago
sortfilterfind v1.3.0
SortFilterFind
This library was generated with Angular CLI version 17.3.0.
Description
Class to perform simple operations on arrays of objects: Sort / Find / Filter.
Installation
npm i sortfilterfind
Example Usage in Angular
import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { SortFilterFind } from 'sort-filter-find';
interface Person {
  nom: string;
  age: number;
}
@Component({
  selector: 'app-root',
  standalone: true,
  imports: [RouterOutlet],
  templateUrl: './app.component.html',
  styleUrl: './app.component.css'
})
export class AppComponent {
  title = 'appTest';
  liste_personne: Array<Person> = [
    { nom: 'lemuel', age: 14 },
    { nom: 'ange', age: 15 }
  ];
  constructor() {
    const result = new SortFilterFind(this.liste_personne, 'ASC', 'age', 15)
      .sort()
      .filter();
  }
}1.1.8
1 year ago
1.1.7
1 year ago
1.1.6
1 year ago
1.1.5
1 year ago
1.1.4
1 year ago
1.1.3
1 year ago
1.3.0
1 year ago
1.1.2
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago