{"id":18325063,"url":"https://github.com/maxdeviant/purescript-which","last_synced_at":"2026-01-21T11:32:50.446Z","repository":{"id":88628227,"uuid":"297838574","full_name":"maxdeviant/purescript-which","owner":"maxdeviant","description":"PureScript bindings for `which`","archived":false,"fork":false,"pushed_at":"2022-07-23T19:54:21.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T15:16:53.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PureScript","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/maxdeviant.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":"2020-09-23T03:14:11.000Z","updated_at":"2023-07-25T14:39:27.000Z","dependencies_parsed_at":"2024-03-30T19:33:36.514Z","dependency_job_id":null,"html_url":"https://github.com/maxdeviant/purescript-which","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/maxdeviant/purescript-which","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fpurescript-which","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fpurescript-which/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fpurescript-which/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fpurescript-which/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxdeviant","download_url":"https://codeload.github.com/maxdeviant/purescript-which/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fpurescript-which/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28632771,"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":"2024-11-05T18:36:43.004Z","updated_at":"2026-01-21T11:32:50.431Z","avatar_url":"https://github.com/maxdeviant.png","language":"PureScript","readme":"# purescript-which\n\n[![Pursuit](https://pursuit.purescript.org/packages/purescript-which/badge)](https://pursuit.purescript.org/packages/purescript-which)\n\nPureScript bindings for [`which`](https://www.npmjs.com/package/which).\n\n## Installation\n\n```\nspago install which\n```\n\nYou will also need to have [`which`](https://www.npmjs.com/package/which) installed:\n\n#### Yarn\n\n```\nyarn add which\n```\n\n#### npm\n\n```\nnpm i which\n```\n\n## Usage\n\n```purs\nmodule Main where\n\nimport Prelude\nimport Data.Maybe (Maybe(..))\nimport Effect (Effect)\nimport Effect.Console (log)\nimport Which (whichSync)\n\nmain :: Effect Unit\nmain = do\n  let\n    commandToFind = \"neofetch\"\n  command \u003c- whichSync Nothing commandToFind\n  log\n    $ case command of\n        Just found -\u003e \"Found \" \u003c\u003e commandToFind \u003c\u003e \" at \" \u003c\u003e found\n        Nothing -\u003e \"Did not find \" \u003c\u003e commandToFind\n```\n\n```purs\nmodule Main where\n\nimport Prelude\nimport Data.Maybe (Maybe(..))\nimport Data.Options ((:=))\nimport Effect (Effect)\nimport Effect.Console (log)\nimport Which (whichSync, path)\n\nmain :: Effect Unit\nmain = do\n  let\n    commandToFind = \"neofetch\"\n  command \u003c- whichSync (Just $ path := Just \".\") commandToFind\n  log\n    $ case command of\n        Just found -\u003e \"Found \" \u003c\u003e commandToFind \u003c\u003e \" at \" \u003c\u003e found\n        Nothing -\u003e \"Did not find \" \u003c\u003e commandToFind\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdeviant%2Fpurescript-which","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxdeviant%2Fpurescript-which","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdeviant%2Fpurescript-which/lists"}