Sign in Sign up
npm

moduletype

Pass in the string representation of a file to get the file's module pattern. `moduletype` returns the module pattern type used by a script, for example 'cjs' or 'esm'.

npm View on Npm

Activity

Latest release
8y ago
Total releases
8
Cadence
~3 months
Last 12 months
0

Details

License
MIT
First release
Jul 13, 2015
Releases
Version Released
0.0.8 patch
0.0.7 patch
0.0.6 patch
0.0.5 patch
0.0.4 patch
0.0.3 patch
0.0.2 patch
0.0.1 initial