Node.jsでAysnc/Awaitを使ってHTTPリクエストを行う5つの方法

この記事はデベロッパーエバンジェリストのSam Agnewがこちらで執筆した記事を日本語化したものになります。 HTTPリクエストはモダンなプログラミング言語におけるコアとなる機能であり、多くの開発者が新しい環境に慣れる際に学習する項目の1つです。Node.jsではもともとの言語にこの機能が備わっており、また開発者コミュニティでも多くのソリューションが開発されています。最も人気のあるものをいくつか見ていきましょう。 数年前、同じような記事をこちらで執筆しています。しかし、その後JavaScriptではaync/awaitを用いた非同期プログラミング手法が普及し主流となったため、ネットワークリクエストがこれまで以上に簡単になりました。このことに加え、HTTPライブラリとしてこれまで多くのNodeプロジェクトで利用されてきたRequestが非推奨となりました。まさにこのガイドを更新する良いタイミングです。 … more Read More

Node v15.11.0 (Current)

Notable Changes [ a3e3156b52 ] – (SEMVER-MINOR) crypto : make FIPS related options always awailable (Vít Ondruch) #36341 [ 9ba5c0f9ba ] – (SEMVER-MINOR) errors : remove experimental from –enable-source-maps (Benjamin Coe) #37362 Commits [ d039e6fa80 … more Read More

Echo JS

Still, Going Native Is Better Than React Native and Flutter Deno 1.8.0 The Dark Side of Javascript: A Look at 3 Features You Never Want to Use Gyro-web: Accessing the device orientation in JavaScript How an Anti-TypeScript “JavaScript developer” like me became a TypeScript fan … more Read More

jQuery 3.6.0 Released!

jQuery 3.6.0 has been released! In jQuery 3.5.0, the major change was a security fix for the html prefilter. This release does not include a security fix, but does have some good bug fixes and improvements. We still have our eyes on a jQuery 4.0 release, … more Read More

Echo JS

Super tiny, quick tips, tricks and best practices of front-end development Why Frontend Developers Need to be Webpack Experts … more Read More

New Features in Chrome 88 Devtools

The recent release of Chrome 88 includes significant updates to the Chrome DevTools that include improved network debugging, experimental CSS Flexbox debugging tools, improved frame details view, new WASM debug capabilities, and general performance improvements. … more Read More