{"id":16567007,"url":"https://github.com/jacobjmarks/quick-sentiment-analysis","last_synced_at":"2026-05-13T12:39:29.320Z","repository":{"id":61025191,"uuid":"547632681","full_name":"jacobjmarks/quick-sentiment-analysis","owner":"jacobjmarks","description":"GitHub Action to analyze sentiment of provided text.","archived":false,"fork":false,"pushed_at":"2022-10-08T07:40:33.000Z","size":241,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T20:03:36.503Z","etag":null,"topics":["actions","github-actions"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/quick-sentiment-analysis","language":"JavaScript","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/jacobjmarks.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":"2022-10-08T02:26:01.000Z","updated_at":"2022-10-08T03:37:42.000Z","dependencies_parsed_at":"2022-10-08T20:01:00.795Z","dependency_job_id":null,"html_url":"https://github.com/jacobjmarks/quick-sentiment-analysis","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobjmarks%2Fquick-sentiment-analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobjmarks%2Fquick-sentiment-analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobjmarks%2Fquick-sentiment-analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobjmarks%2Fquick-sentiment-analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacobjmarks","download_url":"https://codeload.github.com/jacobjmarks/quick-sentiment-analysis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242008788,"owners_count":20056964,"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":["actions","github-actions"],"created_at":"2024-10-11T21:05:20.440Z","updated_at":"2025-10-24T11:54:29.451Z","avatar_url":"https://github.com/jacobjmarks.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quick Sentiment Analysis\n\nUtilise the [`sentiment`](https://www.npmjs.com/package/sentiment) module to analyze the sentiment of provided text.\n\n## Inputs\n\n### `text`\n\nText to analyze\n\n## Outputs\n\n### `result`\n\nSentiment analysis results.\n\nResult is formatted as JSON. Example:\n\n``` json\n{\n    \"score\": 1,\n    \"comparative\": 0.1111111111111111,\n    \"calculation\": [ { \"allergic\": -2 }, { \"love\": 3 } ],\n    \"tokens\": [\n        \"i\",\n        \"love\",\n        \"cats\",\n        \"but\",\n        \"i\",\n        \"am\",\n        \"allergic\",\n        \"to\",\n        \"them\"\n    ],\n    \"words\": [\n        \"allergic\",\n        \"love\"\n    ],\n    \"positive\": [\n        \"love\"\n    ],\n    \"negative\": [\n        \"allergic\"\n    ]\n}\n```\n\n## Example usage\n\n``` yaml\n- uses: jacobjmarks/quick-sentiment-analysis@v1\n  id: sentiment-analysis\n  with:\n    text: \"I love cats, but I am allergic to them.\"\n\n- run: echo '${{ steps.sentiment-analysis.outputs.result }}'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacobjmarks%2Fquick-sentiment-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacobjmarks%2Fquick-sentiment-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacobjmarks%2Fquick-sentiment-analysis/lists"}