{"id":13862763,"url":"https://github.com/aaronjensen/company-flow","last_synced_at":"2026-03-10T04:03:17.494Z","repository":{"id":66348155,"uuid":"66775371","full_name":"aaronjensen/company-flow","owner":"aaronjensen","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-25T22:00:01.000Z","size":21,"stargazers_count":33,"open_issues_count":1,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-03T00:57:17.376Z","etag":null,"topics":["emacs","flow","flycheck","melpa"],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aaronjensen.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-08-28T15:21:13.000Z","updated_at":"2023-06-20T13:49:34.000Z","dependencies_parsed_at":"2023-02-26T23:45:48.519Z","dependency_job_id":null,"html_url":"https://github.com/aaronjensen/company-flow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aaronjensen/company-flow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronjensen%2Fcompany-flow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronjensen%2Fcompany-flow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronjensen%2Fcompany-flow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronjensen%2Fcompany-flow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronjensen","download_url":"https://codeload.github.com/aaronjensen/company-flow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronjensen%2Fcompany-flow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30324185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T01:36:58.598Z","status":"online","status_checked_at":"2026-03-10T02:00:06.579Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["emacs","flow","flycheck","melpa"],"created_at":"2024-08-05T06:01:51.952Z","updated_at":"2026-03-10T04:03:17.425Z","avatar_url":"https://github.com/aaronjensen.png","language":"Emacs Lisp","funding_links":[],"categories":["Emacs Lisp"],"sub_categories":[],"readme":"# Company flow [![MELPA](https://melpa.org/packages/company-flow-badge.svg)](https://melpa.org/#/company-flow)\n\n[Flow][] backend for [company-mode][]. Flow-based autocomplete for Emacs.\n\n## Installation\n\nYou can install this package from [Melpa][]\n\n```\nM-x package-install RET company-flow RET\n```\n\n## Usage\n\nEnsure that `flow` is in your path.\n\nAdd to your company-backends for your preferred javascript modes,\nfor example:\n\n```elisp\n(eval-after-load 'company\n  (add-to-list 'company-backends 'company-flow))\n```\n\n## Configuration\n\n### `company-flow-executable`\n\nBuffer local variable that should point to the flow executable. Defaults to\n`\"flow\"`. Set to `nil` to disable `company-flow`.\n\nFor best performance, you can set this to the actual flow binary in your\nproject. Here's one way to do that:\n\n```elisp\n(defun flow/set-flow-executable ()\n  (interactive)\n  (let* ((os (pcase system-type\n               ('darwin \"osx\")\n               ('gnu/linux \"linux64\")\n               (_ nil)))\n         (root (locate-dominating-file  buffer-file-name  \"node_modules/flow-bin\"))\n         (executable (car (file-expand-wildcards\n                           (concat root \"node_modules/flow-bin/*\" os \"*/flow\")))))\n    (setq-local company-flow-executable executable)\n    ;; These are not necessary for this package, but a good idea if you use\n    ;; these other packages\n    (setq-local flow-minor-default-binary executable)\n    (setq-local flycheck-javascript-flow-executable executable)))\n\n;; Set this to the mode you use, I use rjsx-mode\n(add-hook 'rjsx-mode-hook #'flow/set-flow-executable t)\n```\n\n### `company-flow-modes`\n\nList of major modes where `company-flow` should provide completions if it is\npart of `company-backends`. Set to `nil` to enable `company-flow` for all major modes.\n\n## Thanks\n\n* [@proofit404][] for a nice example backend with [company-tern][].\n* [@dgutov][] for [company-mode][] and lots of feedback.\n* [@lunaryorn][] for the process communication code from [flycheck][].\n\n[Flow]: https://flowtype.org/\n[company-mode]: https://company-mode.github.com\n[@proofit404]: https://github.com/proofit404\n[@dgutov]: https://github.com/dgutov\n[@lunaryorn]: https://github.com/lunaryorn\n[company-tern]: https://github.com/proofit404/company-tern\n[flycheck]: https://github.com/flycheck/flycheck\n[Melpa]: http://melpa.milkbox.net/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronjensen%2Fcompany-flow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronjensen%2Fcompany-flow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronjensen%2Fcompany-flow/lists"}