{"id":16777028,"url":"https://github.com/fb55/boolbase","last_synced_at":"2025-04-09T14:09:13.550Z","repository":{"id":14158711,"uuid":"16864585","full_name":"fb55/boolbase","owner":"fb55","description":"two functions: one that returns true, one that returns false","archived":false,"fork":false,"pushed_at":"2024-08-03T13:03:18.000Z","size":6,"stargazers_count":20,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T17:53:34.775Z","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":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fb55.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["fb55"],"tidelift":"npm/boolbase"}},"created_at":"2014-02-15T14:44:44.000Z","updated_at":"2024-11-01T23:13:35.000Z","dependencies_parsed_at":"2024-09-22T01:00:48.095Z","dependency_job_id":"b0fb171b-fd61-4799-8955-710b5365fd77","html_url":"https://github.com/fb55/boolbase","commit_stats":{"total_commits":8,"total_committers":4,"mean_commits":2.0,"dds":0.5,"last_synced_commit":"458ff2476b307fd69ef0097984686c62852b432c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fb55%2Fboolbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fb55%2Fboolbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fb55%2Fboolbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fb55%2Fboolbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fb55","download_url":"https://codeload.github.com/fb55/boolbase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054197,"owners_count":21039952,"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-13T07:11:40.170Z","updated_at":"2025-04-09T14:09:13.515Z","avatar_url":"https://github.com/fb55.png","language":"JavaScript","funding_links":["https://github.com/sponsors/fb55","https://tidelift.com/funding/github/npm/boolbase"],"categories":[],"sub_categories":[],"readme":"# boolbase\nThis very simple module provides two basic functions, one that always returns true (`trueFunc`) and one that always returns false (`falseFunc`).\n\n### Why is this needed?\n\nBy having only a single instance of these functions around, it's possible to do some nice optimizations.\nEg. [`css-select`](https://github.com/fb55/css-select) uses these functions to determine whether a selector won't match any elements\nIf that's the case, the DOM doesn't even need to be touched.\n\n### And why is this a separate module?\n\nI'm trying to modularize `css-select` and most modules depend on these functions.\nIMHO, having a separate module is the easiest solution to this problem.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffb55%2Fboolbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffb55%2Fboolbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffb55%2Fboolbase/lists"}