Reachable Urls Save

Check URLs are reachable in text 🕵️

Project README

reachable-urls GitHub Actions Status

Check URLs are reachable in text.

screenshot

Install

$ npm install --save reachable-urls

Usage

CLI

Usage
  $ reachable-urls [<file|glob> ...]

Options
  --compact       Show only not-reachable URLs
  --help          Show help
  --silent        Exit with success always
  --stdin         Check string from stdin
  --version       Show version

JavaScript

import assert from 'assert';
import reachableUrls from 'reachable-urls';

reachableUrls('https://foobarbaz.com https://github.com').then(result => {
  assert.deepEqual(result, {
    'https://github.com': true,
    'https://foobarbaz.com': false
  });
});

License

MIT © Shogo Sensui

Open Source Agenda is not affiliated with "Reachable Urls" Project. README Source: 1000ch/reachable-urls
Stars
28
Open Issues
7
Last Commit
1 year ago

Open Source Agenda Badge

Open Source Agenda Rating