Binary package “node-is-module” in ubuntu oracular
Node.js code to check if a string is an ES6 module
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.