UNPKG

is-file-esm

Version:

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

14 lines (13 loc) 247 B
{ "name": "type-module-js", "version": "1.0.0", "description": "", "main": "file.js", "type": "module", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC" }