Commit Graph
53 Commits
Author SHA1 Message Date
Chesterkxng afac8f73ec chore : image util file created
- getImageDimensions
- getMaxAreaPosition
2026-09-25 11:50:10 +02:00
Chesterkxng 5dd5f49d69 chore: rgba parser from hex added to color util 2026-09-25 11:48:43 +02:00
Chesterkxng 0e09b68c4a Merge branch 'main' into pr/smz202000/407 2026-07-26 19:34:40 +02:00
Chesterkxng 2c397d2481 chore: markup and xml util 2026-07-26 19:28:12 +02:00
Chesterkxng d75f108ab4 chore: updated util to specify the json format 2026-07-26 02:19:21 +02:00
Chesterkxng 2254b559a7 chore: improved jsonparser util function 2026-07-26 01:46:26 +02:00
nawfalandClaude Opus 4.8 fbe531e2c9 feat(json-to-csv): accept NDJSON / multiple objects without array wrapper
The JSON to CSV tool only accepted a single JSON value, so pasting several
objects (one per line) without wrapping them in an array failed with
"Invalid JSON input." (#353).

Add a reusable `parseJsonOrNdjson()` helper in `utils/json` that parses
standard JSON first and falls back to NDJSON (newline-delimited JSON / JSON
Lines): each non-empty line is parsed and the records are returned as an
array. A single non-JSON line still surfaces as a normal JSON error, so
genuinely invalid input is not misread as NDJSON. The helper lives in
`utils/json` so other JSON tools can adopt the same behavior.

Wire it into `convertJsonToCsv` and cover it with tests (multi-line objects,
blank-line skipping, sparse keys, and the invalid-line case).

Closes #353

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 09:00:10 +07:00
Chesterkxng fd198ccf03 chore: string utils 2026-05-04 21:52:45 +02:00
Chesterkxng af2cbdcd10 Merge branch 'main' into pr/Sushanth012/325 2026-04-28 03:27:20 +02:00
Chesterkxng 4b1bcf96e1 chore: util updated for self parsing 2026-04-28 03:12:18 +02:00
Chesterkxng 87318639d4 chore: color util function updated to take 4 params color 2026-04-26 18:03:09 +02:00
Chesterkxng 8d6c386fd2 chore: datetime parser added to time.ts util 2026-04-12 14:41:32 +02:00
Chesterkxng f6e1c13751 chore: getJsonHeaders as util function since reusable 2026-03-15 03:08:07 +01:00
Chesterkxng 82b56b4973 Chore:
- 'file' util added
- getFileExtension method
2025-12-10 16:43:04 +01:00
Chesterkxng 9d25c37f4b chore:
- time util file created
- time validation util function implemented
2025-12-05 17:59:23 +01:00
AshAnand34 d5c71b479e Fixing errors with userTypes 2025-07-18 15:03:26 -07:00
Ibrahima G. Coulibaly bf2668b963 fix: i18n 2025-07-15 18:30:02 +01:00
Ibrahima G. Coulibaly 73224021d6 Merge branch 'main' of https://github.com/iib0011/omni-tools into fork/y1hao/bookmark
# Conflicts:
#	src/components/Hero.tsx
#	src/components/ToolHeader.tsx
#	src/components/ToolLayout.tsx
#	src/tools/defineTool.tsx
2025-07-15 14:08:42 +01:00
Ibrahima G. Coulibaly 3b5f852287 fix: translation related behaviors 2025-07-14 18:04:30 +01:00
Ibrahima G. Coulibaly 6c9898f2d3 fix: tsc 2025-07-14 14:51:46 +01:00
Yihao Wang 911057d560 Clean up 2025-07-14 14:18:15 +12:00
Yihao Wang 03d49e384f Add bookmark button to tool page 2025-07-14 14:02:17 +12:00
Yihao Wang 989aa7958e Fix bookmarked tools retrieval 2025-07-14 00:11:17 +12:00
Yihao Wang 0d3a17a923 Implement bookmarking 2025-07-13 23:49:26 +12:00
Yihao Wang 0e09e9e027 Add bookmark helper functions 2025-07-13 22:50:26 +12:00
Ibrahima G. Coulibaly daec8df499 feat: groupBy tools autocomplete 2025-07-07 14:18:47 +01:00
Chesterkxng 80df2eb68f refactor: review related changes 2025-06-05 23:36:52 +02:00
Chesterkxng a2f63664b0 feat: insert csv columns 2025-05-24 02:50:38 +02:00
Chesterkxng c4d78a6c0c utils: array util functions (any types) 2025-04-10 18:34:04 +02:00
Chesterkxng cfc59f3ae0 fix: skip commas between quotes 2025-04-07 02:41:20 +02:00
Chesterkxng f6fd1d9a04 fix: edge case in unquote function (when null) 2025-04-06 01:45:56 +02:00
Chesterkxng bafaccc25b utils: adding delimiter flag for custom delimiters in csv 2025-04-05 03:51:49 +02:00
Chesterkxng 3d243665f3 utils: moving unquote function to utlis (string) 2025-04-05 03:50:55 +02:00
Chesterkxng 477117cd8c feat: swap-csv-columns fixed 2025-04-01 15:40:19 +00:00
Chesterkxng cafddb7cbf feat: swap-csv-columns 2025-03-31 18:08:22 +00:00
Chesterkxng 890005f77c fix: containsOnlyDigits (remove minus) 2025-03-26 17:39:51 +00:00
Chesterkxng 82b238ffe0 feat: convert-days-to-hours (time tools) 2025-03-24 20:43:08 +00:00
Chesterkxng 3c51268397 feat: convert-days-to-hours (time tools) 2025-03-24 20:23:28 +00:00
Ibrahima G. Coulibaly f678c76200 feat: stringify json 2025-03-08 07:11:57 +00:00
Ibrahima G. Coulibaly d2eb7030d8 feat: json pretty 2025-02-27 13:05:38 +00:00
Ibrahima G. Coulibaly 350061d79e chore: format number 2024-07-11 21:35:00 +01:00
Chesterkxng 7a7bf06b28 adding string reverser code to string in utils 2024-07-10 14:33:20 +00:00
Ibrahima G. Coulibaly e4c726c7b5 fix: misc 2024-07-09 21:58:08 +01:00
Ibrahima G. Coulibaly 5882a21441 chore: convertHexToRGBA 2024-06-28 15:40:05 +01:00
Habib 48cc2f2163 refactor: extract areColorsSimilar() function 2024-06-28 14:59:23 +02:00
Ibrahima G. Coulibaly dcac733acf fix: misc 2024-06-27 18:55:20 +01:00
Ibrahima G. Coulibaly 1903d316e0 Merge branch 'main' into chesterkxng 2024-06-27 18:47:24 +01:00
Chesterkxng 94da75299d sort tools improvements 2024-06-27 16:51:40 +00:00
Ibrahima G. Coulibaly f4e1c06270 feat: change gif speed 2024-06-27 12:39:38 +01:00
Ibrahima G. Coulibaly 429ca09686 feat: tools by category 2024-06-25 09:35:44 +01:00