Utility library to define and obtain word variations for polish words - singular and plural forms (dependant on count) for various polish cases.
npm i polish-word-variations
import { wordVariations } from 'polish-word-variations';
In browser wordVariations package is wrapped twice wordVariations.wordVariations
.
<script src="https://cdn.jsdelivr.net/npm/polish-word-variations@latest/dist/index.browser.js"></script>
<script>
console.log(wordVariations.wordVariations);
</script>
Based on: