{"id":18474306,"url":"https://github.com/scriptim/crc-calculator","last_synced_at":"2025-05-13T01:40:16.471Z","repository":{"id":79134629,"uuid":"166113688","full_name":"Scriptim/crc-calculator","owner":"Scriptim","description":"Website and CLI for error detection with Cyclic Redundancy Checks","archived":false,"fork":false,"pushed_at":"2020-05-07T22:06:18.000Z","size":17,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T19:32:41.470Z","etag":null,"topics":["cli","crc","crc-algorithms","crc-calculation","cyclic-redundancy-check","website"],"latest_commit_sha":null,"homepage":"https://scriptim.github.io/crc-calculator/","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/Scriptim.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":"2019-01-16T21:19:04.000Z","updated_at":"2023-02-15T23:33:26.000Z","dependencies_parsed_at":"2023-03-24T00:17:43.933Z","dependency_job_id":null,"html_url":"https://github.com/Scriptim/crc-calculator","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/Scriptim%2Fcrc-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scriptim%2Fcrc-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scriptim%2Fcrc-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scriptim%2Fcrc-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Scriptim","download_url":"https://codeload.github.com/Scriptim/crc-calculator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253856570,"owners_count":21974573,"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","crc","crc-algorithms","crc-calculation","cyclic-redundancy-check","website"],"created_at":"2024-11-06T10:29:00.111Z","updated_at":"2025-05-13T01:40:16.451Z","avatar_url":"https://github.com/Scriptim.png","language":"JavaScript","readme":"# CRC Calculator\n\nWebsite and CLI for error detection with Cyclic Redundancy Checks.\n\n\u003chttps://scriptim.github.io/crc-calculator/\u003e\n\n## Usage\n\n    $ node index.js --help\n    CRC Calculator\n\n    Usage:\n      node index.js --help | --version | --generators\n      node index.js \u003cdata\u003e (\u003cgenerator\u003e | --generator \u003cgenerator name\u003e) [--check] [--short]\n\n    Positional Arguments:\n      data       Binary data string.\n      generator  Binary string encoding the CRC polynomial.\n\n    Options:\n      -h --help        Show this help page.\n      -v --version     Show version.\n      -s --short       Only show the resulting codeword.\n      -c --check       Check a codeword for errors.\n      -g --generator   Name of a predefined CRC polynomial.\n      -l --generators  Show a list of predefined CRC polynomials.\n\n### Examples\n\n#### Default Usage\n\n    $ node index.js 101001011 1010\n    101001011000 : 1010\n    1010\n    ----\n    000001011000\n        1010\n        ----\n        0001000\n            1010\n            ----\n            0010\n\n    101001011010\n\n#### Check a codeword\n\n    $ node index.js 101001011010 1010 --check\n    101001011010 : 1010\n    1010\n    ----\n    000001011010\n        1010\n        ----\n        0001010\n            1010\n            ----\n            0000\n\n    Error: false\n\n#### Use a predefined generator polynomial\n\n    $ node index.js 101001011 --generator crc-1\n    1010010110 : 11\n    11\n    --\n    0110010110\n    11\n    --\n    000010110\n        11\n        --\n        01110\n          11\n          --\n          0010\n            11\n            --\n            01\n\n    1010010111\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptim%2Fcrc-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptim%2Fcrc-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptim%2Fcrc-calculator/lists"}