Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bmpickford/hreflang-checker
Programatically check hreflangs at a given url using existing js test tooling
https://github.com/bmpickford/hreflang-checker
cypress hreflang playwright seo
Last synced: 4 days ago
JSON representation
Programatically check hreflangs at a given url using existing js test tooling
- Host: GitHub
- URL: https://github.com/bmpickford/hreflang-checker
- Owner: bmpickford
- License: mit
- Created: 2023-09-07T02:10:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-07T02:43:35.000Z (over 1 year ago)
- Last Synced: 2024-12-19T19:09:27.849Z (5 days ago)
- Topics: cypress, hreflang, playwright, seo
- Language: HTML
- Homepage:
- Size: 165 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hreflang-checker
Easily check your HTML hreflangs are valid in your end to end or integration suite. This package validates
- [x] Language codes are valid
- [x] All alternate pages have a 200 response
- [x] Hreflangs are biderectional
- [x] Hreflangs are self referencial
- [x] An x-default tag is presentFor more information on hreflangs, see https://developers.google.com/search/docs/specialty/international/localized-versions#all-method-guidelines
## Libraries
| Testing library | Link |
| --------------- | --------------------------------------------- |
| Jest | [link](./packages/hreflang-checker/README.md) |
| Mocha | [link](./packages/hreflang-checker/README.md) |
| Playwright | [link](./packages/playwright/README.md) |
| Cypress (WIP) | [link](./packages/cypress/README.md) |