how to add Yoast wordpress plugin to laravel
After several days of searching finally find the answer.to convert this or any kind of nodejs library to browser javascript supported just go to browserify .first install it by
npm install -g browserify
then install all the library it needs with
npm install <module_name>
at the end generate single js file with
browserify <main.js> -o <destination.js>
now you can add script to your html like
<script src="destination.js"></script>
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.