How to install npm install user-agents-gen How to use const fakeUserAgent = require('user-agents-gen'); console.log(fakeUserAgent());