noscript-gen

0.0.1 • Public • Published

noscript-gen

Better SEO for JS sites with Puppeteer and jsdom pre-rendering

The problem

A modern and dynamic JS Web App that must be wheel crawled and indexed by search engines (eg.: Google). Common SSR is not an option because it must be keeped client only (served by CDN) and updated with REST APIs.

Our solution

As Google recommends here:

https://support.google.com/webmasters/answer/66353?hl=en&ref_topic=6001971

"Place the same content from the JavaScript in a <noscript> tag. If you use this method, ensure the contents are exactly the same as what’s contained in the JavaScript, and that this content is shown to visitors who do not have JavaScript enabled in their browser."

Pre-render the site, get the rendered content and merge to original HTML file served to clients.

Technology stack

Reference

Readme

Keywords

none

Package Sidebar

Install

npm i noscript-gen

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

2.77 kB

Total Files

5

Last publish

Collaborators

  • leomp12