0.2.0 • Published 8 months ago

@olton/spider v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

img.png

Installation

You can install Spider as a local dependency in your project:

npm install -D @olton/spider

or globally

npm install -g @olton/spider

Usage

Update your package.json file to add a script for checking links:

{
  "scripts": {
    "check-links": "spider https://site.com"
  }
}

Then run the script:

npm run check-links

Run from command line

You can run Spider from command line without adding it to package.json:

npx spider https://site.com

Options

You can pass options to Spider:

  • --verbose - Run in verbose mode
  • --attr - Specify the attributes to check (default: href, src, srcset, action)
  • --help - Show help
  • --version - Show version
npx spider --attr=href,src https://site.com

License

This project is licensed under the MIT License. See the LICENSE file for details.


Code Standards

JavaScript Style Guide


Support

If you like this project, please consider supporting it by:

  • Star this repository on GitHub
  • Sponsor this project on GitHub Sponsors
  • PayPal to serhii@pimenov.com.ua.
  • Patreon
  • Buy me a coffee

Copyright (c) 2025 by Serhii Pimenov