Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Catalog / iambumblehead / moduletype
Public GitHub Catalog Discovered Oct 14, 2026

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

View repository on GitHub ↗ View creator profile Browse directory

About this discovery

Public repository record indexed from GitHub. Explore verified star velocity metrics, source code repositories, and curated developer tool directories across the GitHubRepo ecosystem.

#38977516GitHub System ID
iambumbleheadOrganization / User
PublicVisibility
ActiveCatalog Status

More from iambumblehead

↗

iambumblehead/resolvewith

resolve one filepath (or id) relative to another via the rules of CommonJS/node's module.require

Discovered
↗

iambumblehead/pathtore

pathtore is 'path-to-regexp' (from express) modified and repacked for browser use

Discovered
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.

SPONSORED Sponsored Partner