def METHOD_NAME(cls):
    """Return a generator over the latest 40 uploads to npmjs.org
    by querying an weird JSON endpoint.
    """
    url = (
        "https://skimdb.npmjs.com/registry/_changes?"
        "feed=normal"
        "&descending=true"
        "&limit=40"
        "&include_docs=true"
        "&attachments=false"
    )
    try:
        response = cls.call_url(url)
    except Exception as err:  # pragma: no cover
        raise AnityaPluginException(f"Could not contact {url}") from err
    try:
        data = response.json()
    except Exception as err:  # pragma: no cover
        raise AnityaPluginException(f"No JSON returned by {url}") from err
    for item in data["results"]:
        if item.get("deleted"):
            continue
        doc = item["doc"]
        name = doc["name"]
        homepage = doc.get("homepage", f"https://npmjs.org/package/{name}")
        for version in doc.get("versions", []):
            yield name, homepage, cls.name, version