How to edit a node module installed via npm?

I'm using the node_swiz module, which in turn uses the validator module. I want to make changes to the validator module, but I used npm install to install the modules/dependencies. Can I just make