ngx-pipes icon indicating copy to clipboard operation
ngx-pipes copied to clipboard

Feature request: underscore to spaces

Open pkcinna01 opened this issue 2 years ago • 1 comments

I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[ x] feature request
  • Ngx-pipes version: 1.X.X

Current behavior

there is misc support for converting to underscores or camel case but nothing to convert json variables to UI friendly titles

Expected behavior provide a pipe that takes snake case (underscores) and converts to locale friendly text by converting to spaces. I have encountered a need for these two scenarios:

  1. camel case => UI title
  2. snake case => UI title

Minimal reproduction of the problem with instructions

Please tell us about your environment:

  • Angular version: 7.X.X
  • Node (for AoT issues): node --version =

pkcinna01 avatar Dec 22 '22 15:12 pkcinna01

https://github.com/danrevah/ngx-pipes/pull/257

ksvkabra avatar Jun 30 '23 07:06 ksvkabra