cfware

cfware/get-package-type

Determine the `package.json#type` which applies to a location.

JavaScript
5
3
MIT License

This project, `get-package-type`, is a JavaScript module that determines the `package.json#type` of a given file location, helping developers decide whether to use `require` or `import` to load a file. It's primarily designed for developers working with Node.js projects that need to handle both CommonJS and ES modules. By using this module, developers can simplify the process of loading configuration files, such as `myapp.config.js`, and ensure compatibility with different module types.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of cfware/get-package-type

Account's avatar
My linter for latest Node.js
Account's avatar
NYC configurations
Account's avatar
A Test-Anything-Protocol library for JavaScript
Account's avatar
the Istanbul command line interface

Support the repos that depend on cfware/get-package-type

Top contributors

coreyfarrell's profile
coreyfarrell
5 contributions

Recent events

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

No events yet