Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crow

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crow

a remote URL tester for the terminal

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

Crow

Crow is a node.js based URL checker that is automation friendly

It prints results in a table in your console. Crow will exit with a non-zero exit code if one of the tests failed.

Installation

npm i -g crow

Config file

remotes.json

[
  {
    "protocol": "https",
    "domain": "google.com",
    "port": 443,
    "path": "/"
  }, {
    "protocol": "http",
    "domain": "google.com",
    "port": 80,
    "path": "/"
  }, {
    "protocol": "https",
    "domain": "arkhaios.net",
    "port": 443,
    "path": "/"
  }, {
    "protocol": "http",
    "domain": "nowhere",
    "port": 80,
    "path": "/"
  }, {
    "protocol": "https",
    "domain": "elipsis.io",
    "port": 443,
    "path": "/login",
    "method": "POST",
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "email": "hello@elipsis.io",
      "password": "123456"
    }
  }
]

Example

➜  ~  crow remotes.json
┌──────────────────────────────┬─────────────────────────────────┬────────┐
│ Remote                       │ Status                          │ Delay  │
├──────────────────────────────┼─────────────────────────────────┼────────┤
│ https://arkhaios.net:443/    │ UNABLE_TO_VERIFY_LEAF_SIGNATURE │ 187ms  │
├──────────────────────────────┼─────────────────────────────────┼────────┤
│ https://elipsis.io:443/login │ Error: HTTP 500                 │ 360ms  │
├──────────────────────────────┼─────────────────────────────────┼────────┤
│ https://google.com:443/      │ ok                              │ 2755ms │
├──────────────────────────────┼─────────────────────────────────┼────────┤
│ http://google.com:80/        │ ok                              │ 1649ms │
├──────────────────────────────┼─────────────────────────────────┼────────┤
│ http://nowhere:80/           │ getaddrinfo ENOTFOUND           │ 31ms   │
└──────────────────────────────┴─────────────────────────────────┴────────┘

Keywords

FAQs

Package last updated on 12 Feb 2014

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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc