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