How to use the inflected.inflections function in inflected

To help you get started, we’ve selected a few inflected examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github neinteractiveliterature / intercode / app / javascript / inflections.js View on Github external
import { inflections } from 'inflected';
import InflectionsConfig from '../../config/inflections.json';

inflections('en', (inflector) => {
  InflectionsConfig.acronym.forEach((word) => {
    inflector.acronym(word);
  });
});