licenses.dev

moduletype v0.0.8

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.8 version:

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