Socket
Socket
Sign inDemoInstall

farsight

Package Overview
Dependencies
8
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    farsight

A library that fetches a URI and creates data about that resource


Version published
Maintainers
1
Install size
3.18 MB
Created

Readme

Source

farsight

Ever paste a URL into a comment field and see a preview of that website? This library gives you that feature.

This library works on any platform that can make HTTP requests.

Given a URI it returns information.

Works for these websites:

  • amazon product pages
  • wikipedia pages
  • wikipedia users
  • google searches
  • facebook pages
  • twitter tweets
  • twitter moments
  • images
  • videos
  • github repositories
  • github users
  • github organizations
  • github issues
  • github pull requests
  • github wiki pages
  • youtube video pages
  • youtube user pages
  • stackoverflow question
  • stackoverflow user

Version Tests Stability Dependencies

using

import {prop} from "ramda"
import farsight from "farsight"

farsight({uri: "https://example.com"})
  .then(prop("title"))
  .then(console.log) // "Example Website"

Keywords

FAQs

Last updated on 28 Mar 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc