Skip to content

jrs-innovation-center/html-mods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML Transformer

This project uses cheerio to modify the html document, by removing a specific link element and adding a style element.

You can use cheerio like a server-side jquery, to parse and modify html documents.

How to install cheerio

npm install cheerio

How to use cheerio

const $ = cheerio.load(html)
// do stuff
res.send($.html())

Run the example

npm install
npm start

Use cases

Say that you have a service that does not offer configurable support for mobile devices.

You can add the meta tag for mobile device support.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published