module-type

module-type

morganney

Detect if a Node.js file is executed as an ES module or CommonJS.

0 Stars
0 Forks
0 Watchers
JavaScript Language
mit License
30 SrcLog Score
Cost to Build
$6.1K
Market Value
$610

Growth over time

2 data points  ·  2025-04-01 → 2026-04-01
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about module-type

Question copied to clipboard

What is the morganney/module-type GitHub project? Description: "Detect if a Node.js file is executed as an ES module or CommonJS.". Written in JavaScript. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone module-type

Clone via HTTPS

git clone https://github.com/morganney/module-type.git

Clone via SSH

[email protected]:morganney/module-type.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the module-type issue tracker:

Open GitHub Issues