Socket
Book a DemoInstallSign in
Socket

dark_links

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dark_links

0.2.3
bundlerRubygems
Version published
Maintainers
3
Created
Source

Dark_links provides a module to find broken urls in blobs of html and markdown markup. Original code was written by @srecnig, gemification by @michaelem. If you're wondering, the name dark_links is a reference.

Usage

Include DarkLinks::LinkValidator in your model or plain class and call the provided methods with the text you want to check for broken links.

check_links("The Zelda series has a website: http://www.zelda.com/")

You will reccive a hash containing all the found links as keys and true (works) or false (broken) as values.

{ "http://www.zelda.com/" => true }

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 24 Oct 2018

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.