UNPKG

small-gematria

Version:

Calculate numeric value of Hebrew text according to Jewish numerology, with the smallest method

12 lines (10 loc) 419 B
// Change './index' to 'small-gematria' if you use this code outside of this package var smallGematria = require('./index'); // 2+2+2 = 6 console.log(smallGematria("ברך")); // all the below should output 10: console.log(smallGematria("אורי")); console.log(smallGematria("דני")); console.log(smallGematria("יואב")); console.log(smallGematria("תמר")); console.log(smallGematria("מילר"));