Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Gematriya/Gematria, or perhaps more accurately, Hebrew numerals, is a system of writing numbers as Hebrew letters. This JavaScript module allows for easy conversion between gematriya and JavaScript Number
types.
This code was originally written for hebcal/hebcal-js.
Install gematriya from NPM, bower, or just take the gematriya.js
script from this repo.
npm install gematriya
bower install gematriya
On the client side, the API is available through the global function gematriya
. In Node, require('gematriya')
.
A single function is available. Pass it a Number
or String
. Given a number, it will return the string representation. Given a gematriya string, it will return the number it represents.
When passing a string, by default, it just adds up the numbers, regardless of place. By passing true
as a second parameter, it will treat it as being ordered, as per the output (see below).
When passing a number, a second parameter is available, limit
. This will limit the length of the returned string to a number of digits. For example:
gematriya(5774) // התשע"ד - ordinary
gematriya(5774, 3) // תשע"ד - cropped to 774
gematriya(5774, 7) // התשע"ד - kept at 5774
Licensed MIT.
FAQs
Convert numbers to gematriya representation, and vice-versa.
The npm package gematriya receives a total of 1,610 weekly downloads. As such, gematriya popularity was classified as popular.
We found that gematriya demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.