licenses.dev

moduletype v0.0.3

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

MIT1
PackageRelationDependenciesPublished
array.prototype.find • 1.0.0Array.prototype.find ES6 polyfill.DIRECT0
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.3 version:

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