Get the basename of a filepath excluding extension.
shim for require.main.filename() that works in as many environments as possible
Generate a unique filename for use in temporary directories or caches.
Regular expression for matching reserved filename characters
Find the module object for something that was require()d