ngx-pipes
ngx-pipes copied to clipboard
Feature request: underscore to spaces
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:
- camel case => UI title
- 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
=
https://github.com/danrevah/ngx-pipes/pull/257