1.0.6 • Published 7 years ago

link-summarizer v1.0.6

Weekly downloads
3
License
BSD-2-Clause-Free...
Repository
github
Last release
7 years ago

link-summarizer

Summarizes a given link

Installation

$ npm install --save link-summarizer

Usage

var callback = function(response, arg1) {
    console.log(response);
};

var summarizer = require("./index")();
var url = "https://en.wikipedia.org/wiki/Bacteria";
summarizer.summarizeLink(url, callback, ["dummy"])

/*
{
	title: 'Wikipedia',
	softTitle: 'Wikipedia',
	date: '. Retrieved 10 September 2008',
	author: [],
	publisher: undefined,
	copyright: 'Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.',
	favicon: '/static/favicon/wikipedia.ico',
	description: undefined,
	keywords: undefined,
	lang: 'en',
	canonicalLink: 'https://en.wikipedia.org/wiki/Bacteria',
	tags: [],
	image: null,
	videos: [],
	status: 'ok',
	summary: 'Bacteria were among the first life forms to appear on Earth, and are present in most of its habitats.'
}
*/

License

BSD-2-Clause-FreeBSD © Ravikiran Janardhana

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago