Oct. 20, 2023, 3:13 p.m. | NullVoxPopuli

DEV Community dev.to

@ember/string is trying to be phased out -- I've found that change-case is a better alternative to @ember/string, because it supports more transformations, is true native ESM, and can be anywhere, even outside of ember, or in plain html files!


Here is how you migrate:



camelize


If you use camelize in @ember/string, use this instead:



import { camelCase } from 'change-case';



capitalize


If you use capitalize in @ember/string, use this instead:



import { capitalCase …

case change ember esm files found html javascript string strings true

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne