Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 615 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 615 Bytes

Smappi Common Library

travis

Installation of Smappi CL:

yarn add smappi-cl
# or
npm install smappi-cl

Example of usage:

const { jquery, request, DOM, logger: console } = require('smappi-cl');

function example (URL) {
    let $ = jquery(DOM(request.get(URL).content));
    $('div[class~="item"]').each(function () {
        console.log('ITEM', $(this));
    });
}

module.exports = { example }

More examples