If you’re working on a full-stack JavaScript application in WebStorm, you’ve probably noticed that code completion suggests some Node.js APIs in your client-side code and DOM APIs in the Node.js code. Here’s how to fix that. What is Library in WebStorm? All the objects defined in your application are automatically added to the WebStorm completion suggestions, but for adding Node.js and DOM APIs as
