esperanto.js
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i esperanto.js

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

42.8 kB

Total Files

9

Last publish

Collaborators

  • oyvindsabo