{"id":34681374,"url":"https://github.com/fdncred/nu_plugin_toon","last_synced_at":"2025-12-24T21:11:45.795Z","repository":{"id":323870999,"uuid":"1093704170","full_name":"fdncred/nu_plugin_toon","owner":"fdncred","description":"A nushell plugin that implements the toon format","archived":false,"fork":false,"pushed_at":"2025-12-02T14:43:41.000Z","size":56,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-05T12:35:18.338Z","etag":null,"topics":["nushell","nushell-plugin"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fdncred.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-10T18:17:13.000Z","updated_at":"2025-12-02T14:43:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fdncred/nu_plugin_toon","commit_stats":null,"previous_names":["fdncred/nu_plugin_toon"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fdncred/nu_plugin_toon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdncred%2Fnu_plugin_toon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdncred%2Fnu_plugin_toon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdncred%2Fnu_plugin_toon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdncred%2Fnu_plugin_toon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fdncred","download_url":"https://codeload.github.com/fdncred/nu_plugin_toon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdncred%2Fnu_plugin_toon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28008537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nushell","nushell-plugin"],"created_at":"2025-12-24T21:11:45.153Z","updated_at":"2025-12-24T21:11:45.787Z","avatar_url":"https://github.com/fdncred.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nu_plugin_toon\n\nThis is a [Nushell](https://nushell.sh/) plugin that implements the [toon format](https://github.com/toon-format/toon-rust) and has two commands `from toon` and `to toon`.\n\n## Installing\n\n```nushell\n\u003e cargo install --path .\n```\n\n## Usage\n\n### to toon\n```nushell\nto toon --help\nConvert nushell input to toon format\n\n'Under the hood' to toon calls the to json command on anything you pipe into it before trying to convert the input into the toon format\n\nUsage:\n  \u003e to toon {flags}\n\nFlags:\n  -h, --help: Display the help message for this command\n  -d, --delimiter \u003cstring\u003e: Delimiter to use: ',', '|', or \"\\t\" (default is ',')\n  -i, --indent-spaces \u003cint\u003e: The number of spaces to indent (default is 2)\n  -k, --key-folding-mode \u003cstring\u003e: Keyfolding mode, 'off' or 'safe'. When set to 'Safe', single-key object chains will be folded into dotted-path notation if all safety requirements are met\n  -f, --folding-depth \u003cint\u003e: Set maximum depth for key folding\n  -r, --raw: Don't call internal to json command and just pass json as the input\n\nExamples:\n  Convert ls output to toon format\n  \u003e ls | to toon\n\n  Convert table literal to toon format\n  \u003e [[col1 col2 col3]; [moe larry curly] [larry curly moe]] | to toon\n  [2]{col1,col2,col3}:\n    moe,larry,curly\n    larry,curly,moe\n```    \n\n### from toon\n```nushell\nfrom toon --help\nConvert toon formatted text to nushell values\n\n'Under the hood' from toon calls the from json command after decoding the toon formatted input into JSON. Parsing the toon format is set to strict. Make sure the toon output has 2 spaces, is delimited by commas, and uses \\n as a line separator and not \\r\\n even on Windows\n\nUsage:\n  \u003e from toon {flags}\n\nFlags:\n  -h, --help: Display the help message for this command\n  -d, --delimiter \u003cstring\u003e: Delimiter to use: ',', '|', or \"\\t\" (default is ',')\n  -e, --expand-paths \u003cstring\u003e: Enable path expansion 'off' or 'safe' (defaults to 'off'). When set to 'Safe', dotted keys will be expanded into nested objects if all segments are IdentifierSegments\n  -s, --strict: Enable or disable strict mode (validates array lengths, indentation, etc) (default: true)\n  -i, --indent-spaces \u003cint\u003e: The number of spaces to indent (default is 2)\n  -c, --coerce-types: Enable or disable type coercion (strings like “123” -\u003e numbers) (default: true)\n\nExamples:\n  Convert ls output to toon format and round trip back to nushell values\n  \u003e ls | to toon | from toon\n\n  Convert toon formatted text to nushell values\n  \u003e \"[2]{col1,col2,col3}:\\n  moe,larry,curly\\n  larry,curly,moe\\n\" | from toon\n  ╭─#─┬─col1──┬─col2──┬─col3──╮\n  │ 0 │ moe   │ larry │ curly │\n  │ 1 │ larry │ curly │ moe   │\n  ╰───┴───────┴───────┴───────╯\n```  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdncred%2Fnu_plugin_toon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffdncred%2Fnu_plugin_toon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdncred%2Fnu_plugin_toon/lists"}