node-is-module

Node.js code to check if a string is an ES6 module

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/component/is-module


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install node-is-module