Last active
March 12, 2022 16:56
-
-
Save garrytrinder/9cad7af24bfd5caa21f80a003e09092c to your computer and use it in GitHub Desktop.
Scrapes the npm versions page for CLI Microsoft 365 and returns betas for a specific version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var betas = []; document.querySelectorAll("a.code").forEach((version)=>{ version.innerText.includes("5.0.0-beta") ? betas.push(version.innerText); betas; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment