Skip to content
Arthur Guiot edited this page Sep 17, 2019 · 1 revision

How it works?

This will take a URL as an argument and a callback function to test the content of the page.

Example

eye.test("API", "node",
	$ => $("https://api.ipify.org/?format=json").fetch(data => {
            const json = JSON.parse(data)
            return json.ip == "1.1.1.1"
        })
)

⚠️ Questions?

Don't hesitate to ask your questions ⁉️ in the issue part 😁

Clone this wiki locally