简体   繁体   中英

How to load a single AMD module in node?

I need to load a single AMD module using node.js.

Basically I need to check only the presence for a property in that AMD module.

I would like to know if node offers this possibility directly. If no I would like to know a npm package which could help on the tasks, which does not change the node loader (I need a very simple solution for now).

Thanks

It's hard to answer such a broad question in any details.

See the resources in those answers:

and you should find all the info you need.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM