Skip to content
Myr

Make it possible to install Ky in Node.js 8

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Closes #24

authored by Sindre Sorhus · committed by Sindre Sorhus · parent afc18ea · Browse files · 3 files+7 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+7 added−1 removed

  • other:+7 added−1 removed

3 files+7 added−1 removed

modified:.travis.yml+1 added
modified:package.json+1 added-1 removed
modified:readme.md+5 added
374 unmodified lines
375376The latest version of Chrome, Firefox, and Safari.377378379## Node.js support380381Ky requires Node.js 10 or later, but it indicates Node.js 8 in package.json so you can use it with Node.js 8 by polyfilling the globals without having Yarn fail on install. However, you should just use [`ky-universal`](https://github.com/sindresorhus/ky-universal).382383384## Related385386- [ky-universal](https://github.com/sindresorhus/ky-universal) - Use Ky in both Node.js and browsers387- [got](https://github.com/sindresorhus/got) - Simplified HTTP requests for Node.js
12 unmodified lines