async fetchByJsonAPI({
    user,
    repo,
    schema,
    server = 'https://packagist.org',
  }) {
    const url = `${server}/packages/${user}/${repo}.json`

    return this._requestJson({
      schema,
      url,
    })
  }
It is highly recommended to use base fetch method!

JSON API includes additional information about downloads, dependents count, github info, etc.
However, responses from JSON API are cached for twelve hours by packagist servers,
so data fetch from this method might be outdated.
For more information please refer to https://packagist.org/apidoc#get-package-data.

@param {object} attrs Refer to individual attrs
@param {string} attrs.user package user
@param {string} attrs.repo package repository
@param {Joi} attrs.schema Joi schema to validate the response transformed to JSON
@param {string} attrs.server URL for the packagist registry server (Optional)
@returns {object} Parsed response