licenses.dev

moduletype v0.0.6

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'.

Published on

Licenses

Learn more about license information.

Package Licenses

MIT

Dependency Licenses

This package has no dependencies.
Last updated on

Copy the licenses badge code for the latest version:

[![licenses](https://licenses.dev/b/npm/moduletype)](https://licenses.dev/npm/moduletype)
<a href="https://licenses.dev/npm/moduletype">
  <img src="https://licenses.dev/b/npm/moduletype" alt="licenses" />
</a>

Or the licenses badge code for the 0.0.6 version:

[![licenses](https://licenses.dev/b/npm/moduletype/0.0.6)](https://licenses.dev/npm/moduletype/0.0.6)
<a href="https://licenses.dev/npm/moduletype/0.0.6">
  <img src="https://licenses.dev/b/npm/moduletype/0.0.6" alt="licenses" />
</a>
GitHub