0.1.5 • Published 12 years ago

linksnip v0.1.5

Weekly downloads
42
License
-
Repository
github
Last release
12 years ago

LinkSnip

A utility that will take a url and provide a basic synoposis of the web page including title, text, and image. Inspired by Facebook link scraper.

Usage

Install it:

npm install -g linksnip

Run it:

linksnip http://google.com
{
  "url": "https://www.google.com/",
  "title": "Google",
  "description": "Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.",
  "images": [
    {
      "height": 128,
      "width": 128,
      "format": "PNG",
      "url": "https://www.google.com/images/google_favicon_128.png",
      "filename": "/cloudcollege/linksnip/images/fe319f17bbd1a352c0ad1a47a5f5c7ee555e4f3d"
    }
  ]
}

Require it:

linksnip = require('linksnip')

linksnip("https://google.com", function(results){
    console.log(JSON.stringify(results, null, 2))
})
0.1.9

12 years ago

0.1.8

12 years ago

0.1.7

12 years ago

0.1.6

12 years ago

0.1.5

12 years ago

0.1.4

12 years ago

0.1.3

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago

0.0.1

12 years ago