{"id":17797466,"url":"https://github.com/wolfadex/elm-license-finder","last_synced_at":"2025-03-17T04:31:37.776Z","repository":{"id":57222563,"uuid":"230378274","full_name":"wolfadex/elm-license-finder","owner":"wolfadex","description":"Lists license for your Elm dependencies","archived":false,"fork":false,"pushed_at":"2023-06-28T23:11:04.000Z","size":124,"stargazers_count":11,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-21T07:44:49.606Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wolfadex.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":"2019-12-27T05:23:46.000Z","updated_at":"2020-04-01T17:03:06.000Z","dependencies_parsed_at":"2022-08-28T23:23:19.297Z","dependency_job_id":null,"html_url":"https://github.com/wolfadex/elm-license-finder","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/wolfadex%2Felm-license-finder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfadex%2Felm-license-finder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfadex%2Felm-license-finder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfadex%2Felm-license-finder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wolfadex","download_url":"https://codeload.github.com/wolfadex/elm-license-finder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221671807,"owners_count":16861312,"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-27T11:56:02.582Z","updated_at":"2024-10-27T11:56:03.441Z","avatar_url":"https://github.com/wolfadex.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elm License Finder\n\nA simple node app for collecting license information for Elm dependencies. Gives you:\n\n- Total dependency count\n- Portion of dependencies that are direct\n- Portion of dependencies that are indirect\n- Totals of licenses by name\n- Table of package, version, license, and whether it's a direct or indirect dependency\n\n\\*_For packages, all dependencies are direct._\n\n![example picture](https://raw.githubusercontent.com/wolfadex/elm-license-finder/master/example_pic.png)\n\n---\n\n## Use as a command:\n\n- Run `yarn global add elm-license-finder` or `npm install -g elm-license-finder`\n- Navigate to the directory with your `elm.json`\n- Run `elm-license-finder`\n\n#### Options\n- `--dir \u003cpath\u003e` The path to the directory containing your elm.json, for when you aren't running it fromt the root of the project.\n- `--output \u003cformat\u003e` To specify an output format that isn't the default table. Formats include:\n\t- `json`\n\t- `csv` formatted as `'name,version,\"license\",type'` with the license escaped.\n\n## Use as a module:\n\nRun `yarn add elm-license-finder` or `npm install elm-license-finder`\n\n```\nconst elmLicenseFinder = require(\"elm-license-finder\");\n\nconst dependencies = elmLicenseFinder();\n// returns an object with the structure:\n// {\n//   \"package/name\": {\n//     version: \"1.2.3\",\n//     license: \"MIT\",\n//     type: \"direct\",\n//   }\n// }\n```\n\nIf you're running it from a different directory than the one with `elm.json` in it\n\n```\nconst elmLicenseFinder = require(\"elm-license-finder\");\nconst path = require(\"path\");\n\nconst dependencies = elmLicenseFinder(path.resolve(\"path\", \"to\", \"elm\", \"project\"));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolfadex%2Felm-license-finder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwolfadex%2Felm-license-finder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolfadex%2Felm-license-finder/lists"}