• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

microlinkhq / ping-url / 16908097364

12 Aug 2025 11:56AM UTC coverage: 100.0%. Remained the same
16908097364

push

github

web-flow
Merge pull request #33 from microlinkhq/dependabot/github_actions/actions/checkout-5

build(deps): bump actions/checkout from 4 to 5

5 of 5 branches covered (100.0%)

Branch coverage included in aggregate %.

13 of 13 relevant lines covered (100.0%)

2.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/index.js
1
'use strict'
2✔
2

2✔
3
const reachableUrl = require('reachable-url')
2✔
4
const memoize = require('@keyvhq/memoize')
2✔
5
const { omitBy } = require('lodash')
2✔
6

2✔
7
const isStream = input => input != null && typeof input.pipe === 'function'
2✔
8

2✔
9
const pingUrl = async (...args) => omitBy(await reachableUrl(...args), isStream)
2✔
10

2✔
11
module.exports = (keyOpts, memoOpts) => memoize(pingUrl, keyOpts, memoOpts)
2✔
12
module.exports.isReachable = reachableUrl.isReachable
2✔
13
module.exports.isStream = isStream
2✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc