{"id":40701334,"url":"https://github.com/sourcevault/enumerate-binary-set","last_synced_at":"2026-01-21T12:04:50.214Z","repository":{"id":57135204,"uuid":"69858996","full_name":"sourcevault/enumerate-binary-set","owner":"sourcevault","description":"generates binary number line","archived":false,"fork":false,"pushed_at":"2016-10-03T09:57:31.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-18T14:19:19.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"LiveScript","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/sourcevault.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-03T09:55:21.000Z","updated_at":"2016-10-03T09:55:56.000Z","dependencies_parsed_at":"2022-09-03T12:21:31.684Z","dependency_job_id":null,"html_url":"https://github.com/sourcevault/enumerate-binary-set","commit_stats":null,"previous_names":["partially-applied/enumerate-binary-set"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sourcevault/enumerate-binary-set","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcevault%2Fenumerate-binary-set","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcevault%2Fenumerate-binary-set/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcevault%2Fenumerate-binary-set/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcevault%2Fenumerate-binary-set/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sourcevault","download_url":"https://codeload.github.com/sourcevault/enumerate-binary-set/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcevault%2Fenumerate-binary-set/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28632781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-21T12:04:50.142Z","updated_at":"2026-01-21T12:04:50.208Z","avatar_url":"https://github.com/sourcevault.png","language":"LiveScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\nFor a  given integer\u003csub\u003e10\u003c/sub\u003e *x* , it generates the range of integers\u003csub\u003e2\u003c/sub\u003e up to *x*.\n\nTo view it in another way, it lists the binary number line up to a given value ( in base 10 ).\n\n**Quick Guide in Code**\n\n```livescript\n\nenumerate = require \"@partially-applied/enumerate-binary-set\"\n\nenumerate 1 # [ [ 0 ] ]\n\nenumerate 2 # [ [ 0 ] , [ 1 ] ]\n\nenumerate 3 # [ [ 0 ], [ 1 ], [ 1, 0 ] ]\n\n\n# Use of padding to normalize array length\n\n# maintain a minimum length of 2 \nenumerate 3,2 # [ [ 0, 0 ], [ 0, 1 ], [ 1, 0 ] ]\n\n# maintain a minimum length of 3\nenumerate 3,3 # [ [ 0, 0, 0 ], [ 0, 0, 1 ], [ 0, 1, 0 ] ]\n\n```\n\n\n\n`type signature`\n\n`\n:: (range,padding) -\u003e [[Int,..Int]..[Int,..Int]]\n`\n\n**API**\n\n- `range` \n    - should be a base 10 value\n    - should be an integer\n    - first argument provides the number of values you want to enumerate from 0.\n\n- `padding`\n    - padding is a helper argument that adds zeros to the start of the value in case its shorter then the padding value\n    \n\n\n\n\n\n    \n    \n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcevault%2Fenumerate-binary-set","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsourcevault%2Fenumerate-binary-set","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcevault%2Fenumerate-binary-set/lists"}