{"id":13541261,"url":"https://github.com/hulthe/nu_plugin_msgpack","last_synced_at":"2025-04-02T08:31:00.381Z","repository":{"id":210117233,"uuid":"725762656","full_name":"hulthe/nu_plugin_msgpack","owner":"hulthe","description":"Nushell plugin for converting to and from msgpack.","archived":true,"fork":false,"pushed_at":"2024-04-19T12:51:14.000Z","size":386,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-03T06:33:08.425Z","etag":null,"topics":["msgpack","nu","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":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hulthe.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}},"created_at":"2023-11-30T20:28:39.000Z","updated_at":"2024-05-28T17:49:52.000Z","dependencies_parsed_at":"2023-11-30T22:28:35.099Z","dependency_job_id":"0ecfe554-24fc-4716-8858-08e185fe7940","html_url":"https://github.com/hulthe/nu_plugin_msgpack","commit_stats":null,"previous_names":["hulthe/nu_plugin_msgpack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hulthe%2Fnu_plugin_msgpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hulthe%2Fnu_plugin_msgpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hulthe%2Fnu_plugin_msgpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hulthe%2Fnu_plugin_msgpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hulthe","download_url":"https://codeload.github.com/hulthe/nu_plugin_msgpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246781953,"owners_count":20832939,"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","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":["msgpack","nu","nushell","plugin"],"created_at":"2024-08-01T10:00:42.569Z","updated_at":"2025-04-02T08:30:59.925Z","avatar_url":"https://github.com/hulthe.png","language":"Rust","readme":"# nu_plugin_msgpack\n\nA plugin for [nushell](https://nushell.sh/) that provides the commands\n`from msgpack` and `to msgpack` to convert between Nu types and [MsgPack](https://msgpack.org/),\nwhich is a JSON-like binary serialization format.\n\n![ls-to-msgpack.gif](https://github.com/hulthe/nu_plugin_msgpack/blob/master/showcase/ls-to-msgpack.gif)\n\n## Installation\n\n```sh\n# download and install the plugin\ncargo install --git https://github.com/hulthe/nu_plugin_msgpack.git\n\n# register the plugin with nu, you should put this in your `config.nu`\nregister ~/.cargo/bin/nu_plugin_msgpack\n```\n\n## Quirks\n\nThere's not a 1 to 1 mapping between Nu-types and MsgPack-types.\nHere are some conversions that `to msgpack` does which might trip you up:\n\n- `filesize` becomes an integer of bytes. This is consistent with `to json`.\n- `duration` becomes an integer of nanoseconds. This is consistent with `to json`.\n- `range` becomes an array. This is consistent with `to json`.\n- The following Nu types become nil: `block`, `closure`, `error`, `cell_path`, and `match_pattern`.\n\nAdditionally Nu `date`s are converted to the MsgPack [timestamp extension type](https://github.com/msgpack/msgpack/blob/master/spec.md#timestamp-extension-type).\nThis differs from `to json` which converts dates to strings.\n","funding_links":[],"categories":["Plugins"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhulthe%2Fnu_plugin_msgpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhulthe%2Fnu_plugin_msgpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhulthe%2Fnu_plugin_msgpack/lists"}