node-is-module

Node.js code to check if a string is an ES6 module
  https://github.com/component/is-module
  0
  no reviews



This simple code checks whether a string is the source of an ES6 module. It doesn't actually execute the code and doesn't check other module types, so source strings without module loaders aren't recognized as modules.

Node.js is an event-based server-side JavaScript engine.