---
title: "#require articles | Hashnode"
description: "Explore 13 articles tagged #require on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/require"
---

Tag

# #require

13 posts · 0 followers

[Sumit Patil](https://hashnode.com/@codewithpatil) · [Aug 17](https://hashnode.com/posts/day-6-commonjs-vs-es-modules-require-vs-import/6a82c080528d04c30f624e33)

### [🚀 Day 6: CommonJS vs ES Modules — require() vs import](https://codewithpatil.hashnode.dev/day-6-commonjs-vs-es-modules-require-vs-import?utm_source=hashnode&utm_medium=feed)

Learn how Node.js modules work with CommonJS and ES Modules, understand require() vs import, and know when to use each module system in modern Node.js applications.

8 min read · [codewithpatil.hashnode.dev](https://codewithpatil.hashnode.dev/day-6-commonjs-vs-es-modules-require-vs-import?utm_source=hashnode&utm_medium=feed)

[dev](https://hashnode.com/@apcore) · [Mar 29](https://hashnode.com/posts/human-in-the-loop-the-runtime-enforcement-of-requiresapproval/69c90832a7fa72ee6a5638b1)

### [Human-in-the-Loop: The Runtime Enforcement of requires\_approval](https://blog.aiperceivable.com/human-in-the-loop-the-runtime-enforcement-of-requiresapproval?utm_source=hashnode&utm_medium=feed)

As AI Agents gain more autonomy, a fundamental fear has taken hold in the enterprise: "What if the Agent does something it shouldn't?" We’ve all seen the warnings in system prompts: "Please be carefu

3 min read · [blog.aiperceivable.com](https://blog.aiperceivable.com/human-in-the-loop-the-runtime-enforcement-of-requiresapproval?utm_source=hashnode&utm_medium=feed)

[Satpalsinh Rana](https://hashnode.com/@satpalsinh) · [Mar 18](https://hashnode.com/posts/cjs-vs-esm/69bae5fe8c55d6eefb45dd2b)

### [CommonJs Vs EcmaScript Modules](https://blogs.satpal.cloud/cjs-vs-esm?utm_source=hashnode&utm_medium=feed)

Basic to advance guide to understand CJS and ESM

8 min read · [blogs.satpal.cloud](https://blogs.satpal.cloud/cjs-vs-esm?utm_source=hashnode&utm_medium=feed)

[Soumadip Majila](https://hashnode.com/@soumadip) · [Jun 21, 2025](https://hashnode.com/posts/how-nodejs-require-works-behind-the-scenes/68561947d1fd2521833538cf)

### [🔍 How Node.js require() Works: Behind the Scenes 🧬](https://web-dev-soumadip.hashnode.dev/how-nodejs-require-works-behind-the-scenes?utm_source=hashnode&utm_medium=feed)

Demystifying Node.js Module Loading: From require() to Execution

2 min read · [web-dev-soumadip.hashnode.dev](https://web-dev-soumadip.hashnode.dev/how-nodejs-require-works-behind-the-scenes?utm_source=hashnode&utm_medium=feed)

[Saurav Kumar](https://hashnode.com/@sauraversee) · [Aug 26, 2024](https://hashnode.com/posts/require-vs-import/66cca588662c7032347c80e3)

### [require() vs import: What You Need to Know in JavaScript](https://blog.sauraverse.com/require-vs-import?utm_source=hashnode&utm_medium=feed)

Mastering JavaScript Module Imports: require() vs import

3 min read · [blog.sauraverse.com](https://blog.sauraverse.com/require-vs-import?utm_source=hashnode&utm_medium=feed)

[Asfia Aiman](https://hashnode.com/@asfiaaiman) · [Feb 17, 2024](https://hashnode.com/posts/include-and-require-in-php/65d07cbdd00d6dfa402b8a36)

### [\`Include\` and \`Require\` in PHP](https://asfiaaiman.hashnode.dev/include-and-require-in-php?utm_source=hashnode&utm_medium=feed)

In PHP, include and require are two constructs used to include files in a script. Both serve a similar purpose, but there are key differences between them. Understanding these differences is crucial for efficient and error-free PHP programming. In th...

3 min read · [asfiaaiman.hashnode.dev](https://asfiaaiman.hashnode.dev/include-and-require-in-php?utm_source=hashnode&utm_medium=feed)

[Gautam Vaja](https://hashnode.com/@mvaja13) · [Feb 10, 2024](https://hashnode.com/posts/require-vs-import/65c73f5ccf3dc97dcca74eca)

### [require Vs import: Old Vs New war in Javascript](https://10xdev.codeparrot.ai/require-vs-import?utm_source=hashnode&utm_medium=feed)

Exploring the Key Differences Between require and import

4 min read · [10xdev.codeparrot.ai](https://10xdev.codeparrot.ai/require-vs-import?utm_source=hashnode&utm_medium=feed)

[Vaibhav Dewangan](https://hashnode.com/@vaibzde) · [Jan 6, 2023](https://hashnode.com/posts/modules-in-nodejs/63b7e33a624134a0c9b2fe20)

### [#Day17 - Understanding & Working with modules in Node.js](https://vaibzde.hashnode.dev/modules-in-nodejs?utm_source=hashnode&utm_medium=feed)

Understand the basics of using modules in Node.js, including how to import and export functions, objects, and other data.

6 min read · [vaibzde.hashnode.dev](https://vaibzde.hashnode.dev/modules-in-nodejs?utm_source=hashnode&utm_medium=feed)

[Anand Baraik](https://hashnode.com/@anandbaraik) · [Apr 13, 2022](https://hashnode.com/posts/what-is-the-difference-between-include-and-require-in-php/62f3db2831be20833796d780)

### [What is the difference between include and require in PHP?](https://anandbaraik.hashnode.dev/what-is-the-difference-between-include-and-require-in-php?utm_source=hashnode&utm_medium=feed)

It's use to insert the content of one PHP file into another PHP file before the server executes it.

3 min read · [anandbaraik.hashnode.dev](https://anandbaraik.hashnode.dev/what-is-the-difference-between-include-and-require-in-php?utm_source=hashnode&utm_medium=feed)

[Mike Mwanje](https://hashnode.com/@mikemwanje) · [Aug 28, 2021](https://hashnode.com/posts/how-different-is-commonjs-require-from-es6-import/62cdd51f24f934c8169858aa)

### [How different is CommonJs require from ES6 import?](https://blog.mwanje.me/how-different-is-commonjs-require-from-es6-import?utm_source=hashnode&utm_medium=feed)

CommonJs is the original and default module system of Node.js which uses require and module.exports.

2 min read · [blog.mwanje.me](https://blog.mwanje.me/how-different-is-commonjs-require-from-es6-import?utm_source=hashnode&utm_medium=feed)
