[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1016531: ITP: node-ky -- tiny and elegant HTTP client based on the browser Fetch API



Package: wnpp
Severity: wishlist
Owner: Jonas Smedegaard <dr@jones.dk>
X-Debbugs-Cc: debian-devel@lists.debian.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

* Package name    : node-ky
  Version         : 0.31.1
  Upstream Author : Sindre Sorhus <sindresorhus@gmail.com>
* URL             : https://github.com/sindresorhus/ky
* License         : Expat
  Programming Lang: JavaScript
  Description     : tiny and elegant HTTP client based on the browser Fetch API

 Ky is a tiny and elegant HTTP client
 based on the browser Fetch API.
 Ky targets modern browsers and Deno.
 For older browsers,
 you will need to transpile and use fetch and globalThis polyfills.
 For use only with Node.js, check out Got.
 For isomorphic needs (like server-side rendering),
 check out ky-universal.
 .
 It's just a tiny file with no dependencies.
 .
 Benefits over plain fetch:
  * Simpler API
  * Method shortcuts ( ky.post() )
  * Treats non-2xx status codes as errors (after redirects)
  * Retries failed requests
  * JSON option
  * Timeout support
  * URL prefix option
  * Instances with custom defaults
  * Hooks
 .
 Deno is a runtime for JavaScript and TypeScript
 that is based on the V8 JavaScript engine
 and the Rust programming language.
 .
 A polyfill is code that implements a feature
 on web browsers that do not support the feature.
 .
 Node.js is an event-based server-side JavaScript engine.

This package is needed by solid-server (bug#910111).
It will be maintained in the js-team section of Salsa, here:
<https://salsa.debian.org/js-team/node-ky>.

 - Jonas

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmLpFZUACgkQLHwxRsGg
ASHPtQ/9Hq6XvMbuH1z4Txj9XfbGvasPTEw7oS78CWaDe9pWmuE6LvBD1BPDMlw6
rk7aZGsxndQaIBCk1zsimcV7i6Q0nkl4tkVy6bB18M2ivpDi99oiaTkPYtHVcinN
KG1aX4KX0U5qHghQAdCUPjrCKFIM4qaLlgoLSN+H+GNWOnqHok87Bh1dgkiaJBjE
AYGTwlVYA+2/OPhcJQGbwhed4vvODhraPzXwME4f0KMj7wfDXB1hjxgJX/lou0Yd
4OTTYnILme0yPIiobUyTqtcYWNDRGpRCiHZdIx5KtvGPz+1MgdimB8t9ZckU+of4
ZYw3FTftL09FAvZDtDntRlyrvomUxloa/XjTa88BKe3r+OLFgBWS9EiR02tzOx2J
35OMPCMdo+vx41EpTjQUeVg5co8UAKDEG+htJhE9XYYKSdfNPWUvYFj9wh4eUlnj
yG4GNzvDJDT6frYeDcKEtYNNLQUQ3yJlRYoXSNFK8owJB2SPkjs3AfAorGRG6Qku
GNASgHKanuV39HFjq8a1YmQlmKeRgtPp/E0SCMHDAxYLVzdLlNJfjqoTen93dKWs
XinxRrRyREPKNO3qpe2M210qYPlbn6lOA8/ILpEgdgu4To8SSTK+9PXu5ZMffiAd
JHVV9pKJdIo9GVmHx6vPFqOGcACoWPt6V5hee/dgPgSierKf5Jg=
=9jb1
-----END PGP SIGNATURE-----


Reply to: