Getting Started
Syllabify Hebrew text
Installation
Section titled “Installation”npm i havarotjs
import { Text } from "npm:havarotjs";
import { Text } from "https://esm.sh/havarotjs";
import { Text } from "havarotjs";const text = new Text("הֲבָרֹות");console.log(text.words);// [ Word { original: "הֲבָרֹות" } ]
const Text = require("havarotjs").Text;const text = new Text("הֲבָרֹות");console.log(text.words);// [ Word { original: "הֲבָרֹות" } ]
import { transliterate } from "npm:havarotjs";const text = new Text("הֲבָרֹות");console.log(text.words);// [ Word { original: "הֲבָרֹות" } ]
import { transliterate } from "https://esm.sh/havarotjs";const text = new Text("הֲבָרֹות");console.log(text.words);// [ Word { original: "הֲבָרֹות" } ]
Learn more
Section titled “Learn more” Text To learn more see the
Text
class