How to Include a node module in Edge

I have found a node module called payload-validator at npm. I want to include this module in my node proxy which runs on Edge-cloud.

I'm just trying to include this module this way and getting this error - Cannot find module 'payload-validator'

var payloadCheck = require('payload-validator');

Can someone help me here.

Thanks in advance.

0 1 114
1 REPLY 1

I have found a related question here. Hence closing this one.