You can use lychee as a library for your own projects!
The documentation for the library can be found here.
Here is a “hello world” example:
This is equivalent to the following snippet, in which we build our own client:
The client builder is very customizable:
All options that you set will be used for all link checks.
See the builder
documentation
for all options. For more information, check out the examples folder.