I am using jose npm packege.
jose
var http = require(\'http\'); var { default: parseJwk } = require(\'jose/jwk/parse\'); http.get(\'http://hostname/.well