1.1.0 • Published 4 years ago

esperanto.js v1.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

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