Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { inflections } from 'inflected';
import InflectionsConfig from '../../config/inflections.json';
inflections('en', (inflector) => {
InflectionsConfig.acronym.forEach((word) => {
inflector.acronym(word);
});
});