{"id":17968144,"url":"https://github.com/pd4d10/memcached-cli","last_synced_at":"2025-06-16T09:07:30.400Z","repository":{"id":42136374,"uuid":"75100349","full_name":"pd4d10/memcached-cli","owner":"pd4d10","description":"A simple memcached CLI tool with SASL support","archived":false,"fork":false,"pushed_at":"2019-08-17T09:27:08.000Z","size":28,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T00:11:22.583Z","etag":null,"topics":["cli","memcached","sasl-support"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/pd4d10.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}},"created_at":"2016-11-29T16:29:52.000Z","updated_at":"2023-11-25T18:27:50.000Z","dependencies_parsed_at":"2022-09-06T08:00:36.190Z","dependency_job_id":null,"html_url":"https://github.com/pd4d10/memcached-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pd4d10%2Fmemcached-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pd4d10%2Fmemcached-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pd4d10%2Fmemcached-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pd4d10%2Fmemcached-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pd4d10","download_url":"https://codeload.github.com/pd4d10/memcached-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245426445,"owners_count":20613359,"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":["cli","memcached","sasl-support"],"created_at":"2024-10-29T14:20:19.342Z","updated_at":"2025-03-25T08:31:53.432Z","avatar_url":"https://github.com/pd4d10.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# memcached-cli\n\n[![npm](https://img.shields.io/npm/v/memcached-cli.svg)](https://www.npmjs.com/package/memcached-cli)\n\nA simple memcached CLI tool, with SASL supported. Built upon [`memjs`](https://github.com/alevy/memjs).\n\n## Installation\n\n```sh\nnpm install -g memcached-cli\n```\n\nYou can also use `npx memcached-cli` to run it directly.\n\n## Usage\n\nRun\n\n```sh\n\u003e memcached-cli host:port\n```\n\nto enter interactive shell. If `host` and `port` is not specified, `localhost:11211` will be used.\n\nIf you use SASL auth, run\n\n```sh\n\u003e memcached-cli username:password@host:port\n```\n\n| Method    | Description                                     | Command                                |\n| --------- | ----------------------------------------------- | -------------------------------------- |\n| get       | Get the value of a key                          | `\u003e get \u003ckey\u003e`                          |\n| set       | Set the value of a key, default expires(s) is 0 | `\u003e set \u003ckey\u003e \u003cvalue\u003e [expires]`        |\n| add       | Set the value of a key, fail if key exists      | `\u003e add \u003ckey\u003e \u003cvalue\u003e [expires]`        |\n| replace   | Overwrite existing key, fail if key not exists  | `\u003e replace \u003ckey\u003e \u003cvalue\u003e [expires]`    |\n| increment | Increment the value of a key by amount          | `\u003e increment \u003ckey\u003e \u003camount\u003e [expires]` |\n| decrement | Decrement the value of a key by amount          | `\u003e decrement \u003ckey\u003e \u003camount\u003e [expires]` |\n| delete    | Delete a key                                    | `\u003e delete \u003ckey\u003e`                       |\n| flush     | Flush all data                                  | `\u003e flush`                              |\n| stats     | Show statistics                                 | `\u003e stats`                              |\n\n`memcached-cli` is built upon `memjs`. Visit [memjs documentation](https://memjs.netlify.com/) for more information.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpd4d10%2Fmemcached-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpd4d10%2Fmemcached-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpd4d10%2Fmemcached-cli/lists"}