class NpmSearchResponseMapper extends ComponentSupport {

  public NpmSearchResponse readFromInputStream(final InputStream searchResponseStream) throws IOException {
    try (InputStream in = new BufferedInputStream(searchResponseStream)) {
      return mapper.readValue(in, NpmSearchResponse.class);
    }
  }

  public  NpmSearchResponseMapper();

}