{"id":18150958,"url":"https://github.com/rokf/janet-resp","last_synced_at":"2025-06-11T19:06:18.160Z","repository":{"id":259695284,"uuid":"869759410","full_name":"rokf/janet-resp","owner":"rokf","description":"A RESP encoder and decoder library for Janet","archived":false,"fork":false,"pushed_at":"2024-10-27T10:53:50.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T23:30:08.495Z","etag":null,"topics":["encoder-decoder","janet","janet-lang","redis","redis-client"],"latest_commit_sha":null,"homepage":"","language":"Janet","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/rokf.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":"2024-10-08T20:49:42.000Z","updated_at":"2024-10-27T10:53:54.000Z","dependencies_parsed_at":"2024-10-27T12:24:49.028Z","dependency_job_id":null,"html_url":"https://github.com/rokf/janet-resp","commit_stats":null,"previous_names":["rokf/janet-resp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rokf/janet-resp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokf%2Fjanet-resp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokf%2Fjanet-resp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokf%2Fjanet-resp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokf%2Fjanet-resp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rokf","download_url":"https://codeload.github.com/rokf/janet-resp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokf%2Fjanet-resp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259319848,"owners_count":22839845,"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":["encoder-decoder","janet","janet-lang","redis","redis-client"],"created_at":"2024-11-02T01:05:58.258Z","updated_at":"2025-06-11T19:06:18.139Z","avatar_url":"https://github.com/rokf.png","language":"Janet","funding_links":[],"categories":[],"sub_categories":[],"readme":"# janet-resp\n\njanet-resp is a Janet module library for the Redis serialization protocol (RESP).\n\n\u003e [!IMPORTANT]\n\u003e The encoders and decoders still aren't fully implemented and things might\n\u003e change as I do more testing. Check the comments in the source files if\n\u003e you encounter unexpected behaviour.\n\n## Installation\n\nYou can install it through `jpm` with `jpm install https://github.com/rokf/janet-resp`\nor by adding the following to the dependency list in your `project.janet` file:\n\n```janet\n{ :url \"https://github.com/rokf/janet-resp\" :tag \"main\" }\n```\n\n## API\n\n### `resp/encode`\n\nEncode takes a Janet value, encodes it into a RESP string, and returns that\nstring. Example:\n\n```janet\n(resp/encode [\"set\" :color [255 100 50]])\n```\n\n### `resp/decode`\n\nDecode takes a RESP encoded string, decodes it, and produces a Janet value as\na response. Example:\n\n```janet\n(resp/decode \"*3\\r\\n$3\\r\\nset\\r\\n$5\\r\\ncolor\\r\\n*3\\r\\n:255\\r\\n:100\\r\\n:50\\r\\n\")\n```\n\n## Examples\n\nSee the `examples` folder for various examples using this module. The folder\ncontains a `compose.yaml` file which can be used with Docker Compose to spin\nup services that are required for the examples to run.\n\n## License\n\nMIT - details can be found in the `LICENSE` file at the root of the repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frokf%2Fjanet-resp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frokf%2Fjanet-resp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frokf%2Fjanet-resp/lists"}