JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q31255F
  • License MIT

A function to convert a number into words in Hebrew

Package Exports

  • num2heb
  • num2heb/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (num2heb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

num2heb

Convert numbers to Hebrew words in Python and JavaScript.

Installation

Python

pip install num2heb

JavaScript/TypeScript

npm install num2heb

Usage

Python

from num2heb import number_to_words

result = number_to_words(123)
print(result)  # Output: "מאה עשרים ושלושה"

JavaScript

const numberToWords = require("num2heb");

const result = numberToWords(123);
console.log(result); // Output: "מאה עשרים ושלושה"

TypeScript

import numberToWords from "num2heb";

const result: string = numberToWords(123);
console.log(result); // Output: "מאה עשרים ושלושה"

Contributing

If you would like to contribute to this package, please fork the repository and submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.