Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Μπορείτε να δείτε πώς λειτουργεί εδώ olografos.netlify.app.
Μετατροπή αριθμών (συμπεριλαμβανομέων και δεκαδικών) σε μορφή ολογράφως, με δυνατότητα επιλογής γένους και κλίσης. Παρέχεται και η δυνατότητα για μετατροπή ποσών ευρώ σε μορφή ολογράφως.
Converts Numbers (including decimal points) into words. It also converts the numbers into words for currency.
npm install olografos --save
Εισαγωγή
const { olografos } = require('olografos')
Ή
import { olografos } from 'olografos'
Επιλογές
const lexis = olografos(
123,
{
currency: false
klisi: 'onomastiki'
genos: 'oudetero'
}
})
let lexis = olografos(123)
// lexis = εκατόν είκοσι τρία
lexis = olografos(123.45)
// lexis = εκατόν είκοσι τρία και σαράντα πέντε εκατοστά
Για μετατροπή σε ευρώ
let money = olografos(452, { currency: true })
// money = τετρακόσια πενήντα δύο ευρώ
money = olografos(452.36, { currency: true })
// money = τετρακόσια πενήντα δύο ευρώ και τριάντα έξι λεπτά
Αλλαγή γένου και κλίσης
let lexis = olografos(452, { klisi: 'aitiatiki', genos: 'thyliko' })
// lexis = τετρακοσίες πενήντα δύο
Εκατοστά
let lexis = olografos(1.57, { klisi: 'geniki' })
// lexis = ενός και πενηνταεπτά εκατοστών
Επιλογή | Type | Default | Descr,{options}iption |
---|---|---|---|
currency | boolean | false | Μετατροπή του αριθμόυ σε μορφή ολογράφως ευρώ |
klisi | 'onomastiki' 'geniki' 'aitiatiki' | 'onomastiki' | Η κλίση στην οποία θα γραφεί ο αριθμός |
genos | 'arseniko' 'thyliko' 'oudetero' | 'oudetero' | Το γένος στο οποίο θα γραφεί ο αριθμός |
FAQs
Μετατροπή αριθμών (και ευρώ) σε μορφή ολογράφως
The npm package olografos receives a total of 0 weekly downloads. As such, olografos popularity was classified as not popular.
We found that olografos 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.