node-page-data

Get summary of a url based in semantic and social tags.

Usage no npm install needed!

<script type="module">
  import nodePageData from 'https://cdn.skypack.dev/node-page-data';
</script>

README

node-page-data

Get summary of a url based in semantic and social tags.

Try yourself

  1. git clone git@github.com:felquis/node-page-data.git
  2. npm install
  3. node teste.js

You will see:

summary-content

Open teste.js

// teste.js

var sc = require('./bin/node-page-data');

var url = sc.summarycontent({
    url: 'http://www.tutsmais.com.br/blog',
    onError: function (e) {
        console.log('Error: ', e);
    },
    onContent: function (e) {
        console.log('Success: ', e);
    }
});

;D