A long dependency list in a Node project is part of the philosophy.
Here are a couple helpful packages that will help you write better npm-scripts.
Learn the syntax to export in these two styles in Node.js.
The most lightweight way to get an async/await function.
Here’s an easy example of how to send email using the aws-sdk on Node.js.
Let’s setup Next.js to be able to serve markdown content, such as blog posts.
There are a couple ways to split up and import parts of Node packages. Using a slash (
/) in the import statement is one of them.
Most native Node APIs use callbacks. If you want to use Promises to work with these APIs instead, it’s easy.
Next.js is a framework that most notably allows you to write server-rendered React apps easily – amongst other cool things.
There is a great path API in Node. Still, you can get mixed up in how to specify the correct path. Let’s break down a few options.