esperanto.js
v1.1.0
Published
JavaScript nlp utils for Esperanto
Downloads
8
Maintainers
Readme
Esperanto.js
Installation
npm install esperanto.js
The Esperanto alphabet
import { ALPHABET } from 'esperanto.js';
console.log(ALPHABET);
// ['a', 'b', 'c', 'ĉ', 'd', ...]
Esperanto to English disctionary
import { ESPERANTO_TO_ENGLISH_DICTIONARY } from 'esperanto.js';
console.log(ESPERANTO_TO_ENGLISH_DICTIONARY);
// {
// absolute: ['absolutely'],
// acero: ['maple'],
// aĉeti: ['to buy'],
// adapti: ['to adapt'],
// adiaŭ: ['adieu', 'farewell', 'bye', 'goodbye', 'good-bye'],
// ...
// }
Publishing a new version
Check that linting, formatting, build and tests pass
npm run lint
npm run format
npm run build
npm test
Bump version
npm version [major | minor | patch]
Publish to NPM
npm publish