← All pipes
Text

snakeToCamel

Join underscore-separated words.

Use it in your component

Standalone component
import { Component } from '@angular/core';
import { SnakeToCamelPipe } from 'extra-pipe';

@Component({
  standalone: true,
  imports: [SnakeToCamelPipe],
  template: `{{ 'extra_pipe' | snakeToCamel }}`,
})
export class ExampleComponent {

}

Template
{{ 'extra_pipe' | snakeToCamel }}

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 = "extra_pipe";

{{ value | snakeToCamel }}

Rendered output

extraPipe