{"id":13393267,"url":"https://github.com/alpinejs/alpine","last_synced_at":"2026-01-17T01:22:25.318Z","repository":{"id":37431494,"uuid":"224663696","full_name":"alpinejs/alpine","owner":"alpinejs","description":"A rugged, minimal framework for composing JavaScript behavior in your markup. ","archived":false,"fork":false,"pushed_at":"2025-12-31T18:20:21.000Z","size":9101,"stargazers_count":30977,"open_issues_count":44,"forks_count":1333,"subscribers_count":220,"default_branch":"main","last_synced_at":"2026-01-11T18:29:33.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://alpinejs.dev","language":"HTML","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/alpinejs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["calebporzio"]}},"created_at":"2019-11-28T13:51:55.000Z","updated_at":"2026-01-11T17:35:07.000Z","dependencies_parsed_at":"2024-02-04T20:38:50.078Z","dependency_job_id":"efbc1285-be5e-43a0-8d5d-aea6fe927627","html_url":"https://github.com/alpinejs/alpine","commit_stats":{"total_commits":1791,"total_committers":290,"mean_commits":6.175862068965517,"dds":0.5131211613623674,"last_synced_commit":"36110b619eec982eb10efd41250757716f4847a1"},"previous_names":[],"tags_count":147,"template":false,"template_full_name":null,"purl":"pkg:github/alpinejs/alpine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpinejs%2Falpine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpinejs%2Falpine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpinejs%2Falpine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpinejs%2Falpine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alpinejs","download_url":"https://codeload.github.com/alpinejs/alpine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpinejs%2Falpine/sbom","scorecard":{"id":186754,"data":{"date":"2025-08-11","repo":{"name":"github.com/alpinejs/alpine","commit":"df63fe2f6eb416bb7f46c449f2ee6aaf3c0b304e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Code-Review","score":2,"reason":"Found 6/30 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: .github/SECURITY.md:1","Info: Found linked content: .github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: .github/SECURITY.md:1","Info: Found text in security policy: .github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/run-tests.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":5,"reason":"6 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-tests.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/alpinejs/alpine/run-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-tests.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/alpinejs/alpine/run-tests.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/run-tests.yml:12","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"19 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-gpvc-mx6g-cchv","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T19:55:59.815Z","repository_id":37431494,"created_at":"2025-08-16T19:55:59.815Z","updated_at":"2025-08-16T19:55:59.815Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28491392,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T00:50:05.742Z","status":"ssl_error","status_checked_at":"2026-01-17T00:43:11.982Z","response_time":107,"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-07-30T17:00:48.179Z","updated_at":"2026-01-17T01:22:25.300Z","avatar_url":"https://github.com/alpinejs.png","language":"HTML","readme":"# Alpine.js\n\nGo to the Alpine docs for most things: [Alpine Docs](https://alpinejs.dev)\n\nYou are welcome to submit updates to the docs by submitting a PR to this repo. Docs are located in the [`/packages/docs`](/packages/docs) directory.\n\nStay here for contribution-related information.\n\n\u003e Looking for V2 docs? [here they are](https://github.com/alpinejs/alpine/tree/v2.8.2)\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://alpinejs.dev/patterns\"\u003e\u003cimg src=\"/hero.jpg\" alt=\"Alpine Component Patterns\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n## Contribution Guide:\n\n### Quickstart\n\n* clone this repo locally\n* run `npm install` \u0026 `npm run build`\n* Include the `/packages/alpinejs/dist/cdn.js` file from a `\u003cscript\u003e` tag on a webpage and you're good to go!\n\n### Brief Tour\nYou can get everything installed with: `npm install` in the root directory of this repo after cloning it locally.\n\nThis repo is a \"mono-repo\" using npm workspaces for managing the packages. Each package has its own folder in the `/packages` directory.\n\nRather than having to run separate builds for each package, all package bundles are handled with the same command: `npm run build`\n\nHere's a brief look at each package in this repo:\n\nPackage | Description\n--- | ---\n[alpinejs](packages/alpinejs) | The main Alpine repo with all of Alpine's core\n[collapse](packages/collapse) | A plugin for expanding and collapsing elements using smooth animations\n[csp](packages/csp) | A repo to provide a \"CSP safe\" build of Alpine\n[docs](packages/docs) | The Alpine documentation\n[focus](packages/focus) | A plugin that allows you to manage focus inside an element\n[history](packages/history) | A plugin for binding data to query string parameters using the history API (name is likely to change)\n[intersect](packages/intersect) | A plugin for triggering JS expressions based on elements intersecting with the viewport\n[mask](packages/mask) | A plugin for automatically formatting a text input field as a user types\n[morph](packages/morph) | A plugin for morphing HTML (like morphdom) inside the page intelligently\n[persist](packages/persist) | A plugin for persisting Alpine state across page loads\n\nThe compiled JS files (as a result of running `npm run [build/watch]`) to be included as a `\u003cscript\u003e` tag for example are stored in each package's `packages/[package]/dist` directory.\n\nEach package should at least have: a \"cdn\" build that is self-initializing and can be included using the `src` attribute in a `\u003cscript defer\u003e` tag, and a `module.[esm/cjs].js` file that is used for importing as a JS module (cjs for node, esm for everything else).\n\nThe bundling for Alpine V3 is handled exclusively by ESBuild. All of the configuration for these builds is stored in the `scripts/build.js` file.\n\n### Testing\nThere are 2 different testing tools used in this repo: Cypress (for integration tests), and Vitest (for unit tests).\n\nAll tests are stored inside the `/tests` folder under `/tests/cypress` and `/tests/vitest`.\n\nIf you wish to only run Cypress and open it's user interface (recommended during development), you can run: `npm run cypress`\n\nIf you wish to only run Vitest tests, you can run `npm run vitest` like normal and target specific tests.\n","funding_links":["https://github.com/sponsors/calebporzio"],"categories":["HTML","others","Official Resources","Please find below the links to awesome cheat-sheet and resources:","JavaScript","MVC Frameworks and Libraries","Integration with JavaScript","MVC Frameworks and Libraries [🔝](#readme)","Articles","The TALL Stack","MVC 框架和库","Libraries"],"sub_categories":["Javascript:","Runner","Frontend Framework","HTML over the wire (instead of JSON)","运行器","运行器e2e测试","JavaScript"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falpinejs%2Falpine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falpinejs%2Falpine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falpinejs%2Falpine/lists"}