JavaScript Edu Resources. Angular Courses. React Tutorials. Join us!

ngx-pipes

Bunch of useful pipes for Angular2 and beyond!

  • Scans string and replace placeholders by equivalent member of the array

    Shortening a string by length and providing a custom string to denote an omission

    Strips a HTML tags from string and providing which tags should not be removed

    Uppercase first letter of first word

    Strips characters from the beginning and end of a string (default character is space).

  • Strips characters from the beginning of a string (default character is space).
  • Strips characters from the end of a string (default character is space).
  • Left pad a string to a given length using a given pad character (default is a space)

    Right pad a string to a given length using a given pad character (default is a space)

    Flattens nested array, passing shallow will mean it will only be flattened a single level

    Slicing off the end of the array by n elements

    Slicing off the start of the array by n elements

    Returns the intersections of an arrays

    Returns true if every elements of the array fits the predicate otherwise false

    Returns true if some elements of the array fits the predicate otherwise false

    Returns object of grouped by items by discriminator, and supports nested properties.

  • Returns object array of grouped by items by discriminator

    Identical to filterBy pipe, the only difference is that it’s an impure pipe.



GitHub

Comments are closed, but trackbacks and pingbacks are open.