1.1.0 • Published 4 years ago

recheck-web-js v1.1.0

Weekly downloads
3
License
AGPL-V3
Repository
github
Last release
4 years ago

recheck-web-js

Build Status Latest recheck on Maven Central license PRs welcome code with hearth by retest

This is the JavaScript behind recheck-web and the corresponding Chrome extension. What it does is collect all attributes of all elements of the rendered DOM. This can then be collected by recheck-web or sent to retest.de.

Installation

npm i recheck-web-js

Usage

TypeScript / es6

import { mapElement } from "recheck-web-js";

var htmlNode = document.getElementsByTagName("html")[0];
var html = transform(htmlNode);
var allElements = mapElement(htmlNode, "//html[1]", {
    "//html[1]" : html
});
console.log(allElements);

Test

npm run test

Release

The release of npm module and webjar is performed on travis. To trigger a build update the version in npm files and create a tag with:

npm version patch && git push --tags

If you want to release a minor version use:

npm version minor && git push --tags
1.1.0

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

5 years ago