is-file-esm

Determines whether a Node file is a Module (`import`) or a Script (`require`)

Browse on unpkg