Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

readme.md 841B

12345678910111213141516171819202122232425262728293031
  1. # decompress-response [![Build Status](https://travis-ci.org/sindresorhus/decompress-response.svg?branch=master)](https://travis-ci.org/sindresorhus/decompress-response)
  2. > Decompress a HTTP response if needed
  3. Decompresses the [response](https://nodejs.org/api/http.html#http_class_http_incomingmessage) from [`http.request`](https://nodejs.org/api/http.html#http_http_request_options_callback) if it's gzipped or deflated, otherwise just passes it through.
  4. Used by [`got`](https://github.com/sindresorhus/got).
  5. ## Install
  6. ```
  7. $ npm install decompress-response
  8. ```
  9. ## Usage
  10. ```js
  11. const http = require('http');
  12. const decompressResponse = require('decompress-response');
  13. http.get('http://sindresorhus.com', response => {
  14. response = decompressResponse(response);
  15. });
  16. ```
  17. ## License
  18. MIT © [Sindre Sorhus](https://sindresorhus.com)