Skip to content

smappi/smappi-cl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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