{"id":17930515,"url":"https://github.com/lovasoa/find-candidate-keys","last_synced_at":"2025-07-30T16:35:48.712Z","repository":{"id":57193558,"uuid":"49818077","full_name":"lovasoa/find-candidate-keys","owner":"lovasoa","description":"Finds the candidate keys from a list of functionnal dependencies","archived":false,"fork":false,"pushed_at":"2016-01-17T14:21:49.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-28T22:19:22.886Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lovasoa.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-01-17T13:21:40.000Z","updated_at":"2022-11-10T04:44:23.000Z","dependencies_parsed_at":"2022-09-15T22:20:42.891Z","dependency_job_id":null,"html_url":"https://github.com/lovasoa/find-candidate-keys","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/lovasoa%2Ffind-candidate-keys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Ffind-candidate-keys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Ffind-candidate-keys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Ffind-candidate-keys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovasoa","download_url":"https://codeload.github.com/lovasoa/find-candidate-keys/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229920732,"owners_count":18144860,"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":[],"created_at":"2024-10-28T21:13:56.452Z","updated_at":"2024-12-16T06:40:14.872Z","avatar_url":"https://github.com/lovasoa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# find-candidate-keys\nFinds the candidate keys from a list of functionnal dependencies\n\n## Usage\n```javascript\n// R = (E, G, K, L)\nvar rel = [\"E\",\"G\",\"K\",\"L\"];\n// F = (E ⭢ G, EK ⭢ L)\nvar fundeps = [\n  [[\"E\"], \"G\"], // E ⭢ G\n  [[\"E\", \"K\"], \"L\"] // EK ⭢ L\n];\n\ncandidate_keys(rel, fundeps);\n/* Returns the list of all candidate keys (in this case, there is only EK)\n[\n  [\"E\", \"K\"]\n]\n*/\n```\n\n## npm module\n### Install\n`npm install candidate-keys`\n### Usage\n```javascript\nvar find_candidate_keys = require(\"candidate-keys\").candidate_keys;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasoa%2Ffind-candidate-keys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovasoa%2Ffind-candidate-keys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasoa%2Ffind-candidate-keys/lists"}