TheoryOfNekomata
83f0f28012
Split system functions
Put functions with different purposes into their own files.
hace 1 año
TheoryOfNekomata
f7d14545b5
Update packages
Use latest vitest and coverage-v8 packages.
hace 1 año
TheoryOfNekomata
a0a3251ca1
Use correct group place for combineGroups
Use appropriate place instead of smallest group when creating placeholder groups between actual groups.
hace 1 año
TheoryOfNekomata
6a78aecef8
Refactor groups
Make group management more readable.
hace 1 año
TheoryOfNekomata
73204c19df
Add hyphen option
Formal English hyphenates tens names.
hace 1 año
TheoryOfNekomata
0071c9d493
Fix stringify bugs
Address errors with gapped groups.
hace 1 año
TheoryOfNekomata
efe4291dce
Fix logic with no hundreds place between groups
Ensure digits parse correctly when there are gaps.
hace 1 año
TheoryOfNekomata
fd0ea31fe4
Refactor code
Make code more cleaner when parsing.
hace 1 año
TheoryOfNekomata
b57b7ac8ea
Format code
Format more sections of the code.
hace 1 año
TheoryOfNekomata
b0762fd47c
Update lint
Use ESLint for formatting.
hace 1 año
TheoryOfNekomata
4022962dc5
Rewrite package
Include parse and stringify functions for American short-count locale.
hace 1 año
TheoryOfNekomata
7a890bbeef
Trim input, update TODO
The inputs are now trimmed before conversion.
The TODO items are updated for possible correct formats.
hace 3 años
TheoryOfNekomata
3f79f6f9fe
Add example
The example Website shall be used to showcase the capabilities of
Numerica.
hace 3 años
TheoryOfNekomata
bfe6f2596e
Add scripts
Scripts test the capabilities of the library.
hace 3 años
TheoryOfNekomata
1e67424067
Implement ordinals, refactor code
Ordinals have been implemented in both English and German (tho I'm not
sure how to check correctness of German number names and ordinals).
Also, refactored code to have common rules for a language, and special
rules for each variant (in the future, French will have this structure
handy).
hace 3 años
TheoryOfNekomata
1b45838a64
Reimplement tests from archive
Make sure cases from chongo are accounted for.
hace 3 años
TheoryOfNekomata
33201e4020
Initial commit
Add files from pridepack.
hace 3 años