then install all the library it needs with
npm install module_name
at the end generate single js file with
browserify main.js -o file.js
now you can add script to your html like
for YOAST library there is a browserify directory in example. I use browserify for the index.js file at root directory and add the generated file to this example html file and everything works like a charm.