Sign inSign up

phil294/jquery-jsdom

By phil294

•Updated over 7 years ago

JQuery for HTML-string in command line

Image
0

981

phil294/jquery-jsdom repository overview

⁠jquery-jsdom

Docker image for JQuery in command line

Samle usage:

$ docker run --rm -i phil294/jquery-jsdom '$("p").text()' <<< '<p>Hello!</p>'

prints

$ Hello!

  • 1st param: The HTML string
  • 2nd param: JavaScript code which is run inside eval(). The result is printed out. JQuery is accessible through the variable $.

Tag summary

Content type

Image

Digest

Size

30.5 MB

Last updated

over 7 years ago

docker pull phil294/jquery-jsdom