dependents

dependents/module-definition

Determines whether a JavaScript file is in the CommonJS, AMD, or ES6 format

JavaScript
9
5
MIT License

This project determines the module definition type (CommonJS, AMD, ES6, or none) for a given JavaScript file by analyzing its Abstract Syntax Tree (AST). It provides both synchronous and asynchronous APIs, as well as a CLI tool, making it useful for developers working with module bundlers, build tools, or code analysis tools who need to identify module formats programmatically.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of dependents/module-definition

Account's avatar
Collection of useful helper functions when trying to determine module type (CommonJS or AMD) properties of an AST node.
Account's avatar
Execute a callback on every node of a source code's AST and stop walking when you see fit
Account's avatar
output coverage reports using Node.js' built in coverage
Account's avatar
In-memory file-system with Node's fs API.
Account's avatar
simple, flexible, fun test framework
Account's avatar
Use multiple `fs` modules in a union.

Support the repos that depend on dependents/module-definition

Top contributors

mrjoelkemp's profile
mrjoelkemp
52 contributions
XhmikosR's profile
XhmikosR
34 contributions
dependabot[bot]'s profile
dependabot[bot]
14 contributions
Evgenus's profile
Evgenus
11 contributions
realityking's profile
realityking
5 contributions
dazinator's profile
dazinator
4 contributions
pahen's profile
pahen
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet