Commit Graph
1178 Commits
Author SHA1 Message Date
PARAS AGARWAL 339ac10bb8 Merge pull request #2 from ParasxAgarwal/feat/number-to-words-decimals
fix: accept leading/trailing decimal points in number-to-words
2026-07-29 08:43:03 +05:30
Paras Agarwalandrebelroot 812c0c22b2 fix(number-to-words): accept leading/trailing decimal points
Normalize edge-case decimal inputs so '.25' is read as 'zero point two
five' and '5.' as 'five'. A lone '.' is still rejected. Adds 3 tests.

Co-authored-by: rebelroot <262209644+rebelroot@users.noreply.github.com>
2026-07-29 08:42:19 +05:30
PARAS AGARWAL d410a49d43 Merge pull request #1 from ParasxAgarwal/feat/number-to-words
feat: number to words converter (sync fork)
2026-07-29 08:13:42 +05:30
Paras Agarwalandrebelroot fe0c9ca274 feat: add number to words converter tool
Add a new number tool that converts numbers into their English word
representation. Supports integers up to trillions, decimal fractions
(read digit-by-digit after 'point'), and negative values.

Options:
- Uppercase output (cheque/legal document style)
- Include 'and' between hundreds and tens (e.g. 'one hundred and twenty')

Processes one number per line, preserving line structure. Includes 17
unit tests covering edge cases (zero, teens, hyphenated tens, zero
groups within large numbers, trailing fractional zeros, non-numeric
input, empty lines).

Co-authored-by: rebelroot <262209644+rebelroot@users.noreply.github.com>
2026-07-29 07:03:00 +05:30
Chesterkxng b07ebec335 Merge pull request #415 from RajivRatan27/feature/date-weekday-calculator
feat: add date weekday calculator tool
2026-07-26 21:24:00 +02:00
Chesterkxng b6777c91b5 Merge branch 'main' into pr/RajivRatan27/415 2026-07-26 21:05:08 +02:00
Chesterkxng e3cdcb966b chore: max day per month handled to avoid inconsistent selection 2026-07-26 21:04:45 +02:00
Chesterkxng 0f5398c8b2 Merge pull request #407 from smz202000/fix/csv-to-xml-escape-special-chars
fix(csv-to-xml): escape XML special characters in cell values
2026-07-26 19:52:02 +02:00
Chesterkxng 0e09b68c4a Merge branch 'main' into pr/smz202000/407 2026-07-26 19:34:40 +02:00
Chesterkxng cec53699ff chore: imports updated in compare text 2026-07-26 19:31:21 +02:00
Chesterkxng ec5ec65149 chore: imports updated in json-to-xml 2026-07-26 19:30:50 +02:00
Chesterkxng c012ec038c chore: corrected csv-to-xml tool 2026-07-26 19:30:20 +02:00
Chesterkxng 2c397d2481 chore: markup and xml util 2026-07-26 19:28:12 +02:00
Chesterkxng 956f432cba Merge pull request #420 from iib0011/jsonl-handling-updates
Jsonl handling updates
2026-07-26 18:03:12 +02:00
Chesterkxng f3fa38c217 chore: input type specifying (json-to-xml) 2026-07-26 16:05:41 +02:00
Chesterkxng 694dadccad chore: input type specifying 2026-07-26 15:47:25 +02:00
Chesterkxng f55113c4c5 chore: input type specifiy to monaco editor (where simple !) 2026-07-26 15:19:21 +02:00
Chesterkxng d446fcd21b chore: json-to-xml handling jsonl 2026-07-26 14:25:02 +02:00
Chesterkxng efc5dd6c8a Merge pull request #385 from arimu1/feat/353-ndjson-json-to-csv
feat(json-to-csv): accept NDJSON / multiple objects without an array wrapper
2026-07-26 04:26:52 +02:00
Chesterkxng 1c1c49dde5 Merge branch 'main' into pr/arimu1/385 2026-07-26 04:22:30 +02:00
Chesterkxng 876608c032 chore: (fix) tsv to json (minify) 2026-07-26 04:13:56 +02:00
Chesterkxng 6584d7e226 chore: safe typing 2026-07-26 03:30:44 +02:00
Chesterkxng 63bd26009d chore: updated minify json to handle Jsonl 2026-07-26 03:28:50 +02:00
Chesterkxng d57017ddac chore: updated sort json to handle Jsonl 2026-07-26 02:52:43 +02:00
Chesterkxng 094ed16a39 chore: initial error on validate json handling 2026-07-26 02:23:31 +02:00
Chesterkxng d75f108ab4 chore: updated util to specify the json format 2026-07-26 02:19:21 +02:00
Chesterkxng 5c71fb126d chore: update validate json service to handle JSONL 2026-07-26 02:03:21 +02:00
Chesterkxng 21a2f43a1b chore: error formatting 2026-07-26 01:49:57 +02:00
Chesterkxng 10c06f4df5 chore: rewritten test case to handle changes 2026-07-26 01:47:38 +02:00
Chesterkxng 8e5af48da5 chore: try catch block removed 2026-07-26 01:47:06 +02:00
Chesterkxng 2254b559a7 chore: improved jsonparser util function 2026-07-26 01:46:26 +02:00
Chesterkxng beb1ad82db Merge pull request #414 from arimu1/fix/404-unique-decimal-domain
fix(random-number): bound unique decimal domain to [min, max] (#404)
2026-07-25 21:22:57 +02:00
Chesterkxng 6ba71199c3 chore: updated error messages in test cases file 2026-07-25 21:12:07 +02:00
Chesterkxng 0741bf755b chore: hybrid approach implemented (perfomance) 2026-07-25 21:07:24 +02:00
RajivRatan27 2e8e8e88af feat: add date weekday calculator tool 2026-07-25 11:41:09 +05:30
arimu1 c0a7b58d9c fix(random-number): bound unique decimal domain to [min, max] (#404)
Unique generation validated capacity with the integer formula max-min+1
even for decimals, and built the decimal pool by adding min..max inclusive
each with 0.00-0.99, so valid decimal counts were rejected while drawn
values could exceed the inclusive maximum. Both the capacity check and the
pool now share one bounded hundredths domain over [min, max].
2026-07-22 23:13:18 +07:00
Chesterkxng a47a851526 Merge pull request #410 from iib0011/version-patch
chore :  last release version updated in package.json
2026-07-18 14:39:52 +02:00
Chesterkxng 5b1b657856 chore : last release version updated in package.json 2026-07-18 14:39:08 +02:00
Chesterkxng 88f1abc3ea Merge pull request #408 from iib0011/version-patch
chore :  last release version updated in package.json
2026-07-18 13:19:10 +02:00
Chesterkxng 1d5476c6e4 chore : last release version updated in package.json 2026-07-18 13:04:14 +02:00
Chesterkxng 8f86510cb7 Merge pull request #375 from Dame5211/codex/show-installed-version
feat: show installed app version
2026-07-17 13:10:05 +02:00
Chesterkxng 8db2edd016 Merge branch 'main' into pr/Dame5211/375 2026-07-17 12:56:56 +02:00
Chesterkxng 9da89519d5 chore: add hash link that redirect to project state at this hash 2026-07-17 12:56:33 +02:00
Chesterkxng aee9ec4d5d chore: last commit hash added to env var 2026-07-17 12:46:53 +02:00
s mz a37ceb9aed fix(csv-to-xml): escape XML special characters in cell values
CSV cell values containing &, <, >, ", ' were inserted
directly into XML element content without escaping, producing
malformed XML output. This adds an escapeXml() function that
converts these characters to their corresponding XML entities
(&amp;, &lt;, &gt;, &quot;, &apos;).

Also adds sanitizeXmlElementName() to convert CSV headers
into valid XML element names by replacing invalid characters
with underscores.

Adds unit tests covering all five XML special characters,
sanitized headers, empty values, and normal data.

Fixes #405
2026-07-17 15:26:31 +08:00
Chesterkxng f8c3a66c70 Merge pull request #396 from Sushanth012/fix-json-to-xml-validation
fix: validate JSON-to-XML tag names and nesting depth
2026-07-16 17:41:23 +02:00
Chesterkxng a13c4f7887 Merge branch 'main' into pr/Sushanth012/396 2026-07-16 17:29:36 +02:00
Chesterkxng b134ae6579 chore: updated service
- max depth added
- minor improvements
2026-07-16 17:29:26 +02:00
Chesterkxng fedfd87c24 chore: types.ts file 2026-07-16 17:27:01 +02:00
Chesterkxng 66bd0afcff chore: full i8n support 2026-07-16 17:23:56 +02:00