Text
humanizeIdentifier
Readable acronym-aware API/schema labels.
Use it in your component
Standalone component
import { Component } from '@angular/core';
import { HumanizeIdentifierPipe } from 'extra-pipe';
@Component({
standalone: true,
imports: [HumanizeIdentifierPipe],
template: `{{ "XMLHttpRequest_id" | humanizeIdentifier }}`,
})
export class ExampleComponent {
}
Template
{{ "XMLHttpRequest_id" | humanizeIdentifier }}
Try it live.
The output below runs the packed library. Edit data, not code.
Use double quotes for text, or a number, array, object or null.
No parameters: use []. Locale is controlled separately.
This pipe has no locale override.
Live template data
readonly value = "XMLHttpRequest_id";
{{ value | humanizeIdentifier }}
Rendered output
XML Http Request id