Skip to Content
Kenat is a work in progress project πŸ‘¨πŸ»β€πŸ’»
DocumentationπŸ“¦ Installation

πŸ“¦ Installation

undefined

πŸ›  Install with a Package Manager

npm install kenat

βœ… Supported Environments

  • Node.js β‰₯ 14
  • Modern browsers (ES6+)
  • Works with React, Vue, Svelte, etc.
  • Not tested on legacy browsers like IE11

πŸ“₯ Basic Import & Usage

import Kenat from 'kenat'; const date = new Kenat(); console.log(date.getEthiopian());

πŸ”„ Dynamic Import (CommonJS)

(async () => { const { default: Kenat } = await import('kenat'); console.log(new Kenat().toString()); })();

πŸ§ͺ Verify Installation

node -e "import('kenat').then(m => console.log(new m.default().toString()))"

Expected Output:

Ethiopian: 2017-9-21
Last updated on