{"id":34834599,"url":"https://github.com/cerchie/caesar-cipher","last_synced_at":"2026-05-26T05:06:24.447Z","repository":{"id":45177745,"uuid":"431930769","full_name":"Cerchie/caesar-cipher","owner":"Cerchie","description":"this function encodes a string you input by your selected Caesar shift ","archived":false,"fork":false,"pushed_at":"2021-12-07T01:06:53.000Z","size":59,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-11T02:08:33.849Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cerchie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-25T17:42:55.000Z","updated_at":"2024-06-30T15:54:02.000Z","dependencies_parsed_at":"2022-09-05T20:20:16.154Z","dependency_job_id":null,"html_url":"https://github.com/Cerchie/caesar-cipher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Cerchie/caesar-cipher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cerchie%2Fcaesar-cipher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cerchie%2Fcaesar-cipher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cerchie%2Fcaesar-cipher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cerchie%2Fcaesar-cipher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cerchie","download_url":"https://codeload.github.com/Cerchie/caesar-cipher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cerchie%2Fcaesar-cipher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28032294,"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-25T02:00:05.988Z","response_time":58,"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":[],"created_at":"2025-12-25T16:00:07.558Z","updated_at":"2025-12-25T16:00:13.509Z","avatar_url":"https://github.com/Cerchie.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# caesar-cipher\n\nthis function encodes a string you input by your selected Caesar shift\n\nTo use:\n\n`git clone https://github.com/Cerchie/caesar-cipher.git \u0026\u0026 cd caesar-cipher \u0026\u0026 node index.js`\n\nIf you want to output an encoded string to the terminal you'll need to add a `console.log` that calls the function at the bottom, like so:\n\n`console.log(caesarShift('hello', 6)`\n\nthen run `node index.js`\n\nLimitations:\n\nYou've got to use a `shiftDegree` between 26 and -26, and your `inputText` must be a string.\n\nPS-- this is a resource that I used: https://stackoverflow.com/questions/5788741/remove-commas-from-the-string-using-javascript\nOtherwise, I just used MDN for loop syntax -- I can never remember whether it's `,` or `;` off the top of my head. ;)\n\nI also [wrote a blog post](https://dev.to/cerchie/writing-a-caesar-shift-cipher-function-with-javascript-27eh) about my thought process! I hope you enjoy it.\n\nMarvel quote experiment below:\n\n\u003c!--STARTS_HERE_QUOTE_README--\u003e\n\u003ci\u003e❝In 1960, the computer at NORAD warned with 99.9% certainty that the Soviets had just launched a full-scale missile attack against North America. NORAD later discovered that the Early Warning System in Greenland had interpreted the moon rising over Norway as a missile attack from Siberia.❞\u003c/i\u003e\n\u003c!--ENDS_HERE_QUOTE_README--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcerchie%2Fcaesar-cipher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcerchie%2Fcaesar-cipher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcerchie%2Fcaesar-cipher/lists"}