How to determine if the current project is specific framework based?
已回答
I'm building a plugin for a specific framework on nodejs.
How can I determine if this project is based on that framework?
For example, this framework's module name is ‘@swf’; if the user installs it, it will appear under the `node_modules` folder with the name `@swf`.
Should I check if the `@swf` folder exists under `node_modules` folder?
Thanks for any advices.
请先登录再写评论。
You can code like: