<commit_before>
              
   LINK-CHECK  
              



VERSION ==>                       #4.5.0

LINK-CHECK('URI'[, OPTS],         #Check if a URI is a dead link
 FUNC(ERROR, OBJ))                #URI can be:
                                  #  - http:, https: does a HEAD request
                                  #  - file: does FS.access()
                                  #  - mailto: check email against REGEXP
                                  #OPTS:
                                  #  - timeout NUM (def: '10s')
                                  #  - retryOn429 BOOL (def: false). If 429, use Retry-After [S]
                                  #  - aliveStatusCodes NUM_ARR (def: [200])
                                  #  - baseUrl 'URI'
                                  #  - headers OBJ
                                  #OBJ:
                                  #  - link 'URI'
                                  #  - status 'alive|dead'
                                  #  - statusCode NUM
                                  #  - err ERROR

MARKDOWN-LINK-CHECK               #Extract links from Markdown (using markdown-link-extractor, see its doc)
 ('MARKDOWN'[, OPTS], FUNC)       #Then uses LINK-CHECK('URI', OPTS, FUNC)
                                  #Extra OPTS:
                                  #  - showProgressBar BOOL (def: false)
                                  #Version 3.3.0

markdown-link-check FILE|URI      #As CLI.
--progress                        #On top of MARKDONW-LINK-CHECK:
                                  #  - fetches FILE|URI<commit_msg>no commit message<commit_after>
              
   LINK-CHECK  
              



VERSION ==>                       #4.5.1

LINK-CHECK('URI'[, OPTS],         #Check if a URI is a dead link
 FUNC(ERROR, OBJ))                #URI can be:
                                  #  - http:, https: does a HEAD request
                                  #  - file: does FS.access()
                                  #  - mailto: check email against REGEXP
                                  #OPTS:
                                  #  - timeout NUM (def: '10s')
                                  #  - retryOn429 BOOL (def: false). If 429, use Retry-After [S]
                                  #  - aliveStatusCodes NUM_ARR (def: [200])
                                  #  - baseUrl 'URI'
                                  #  - headers OBJ
                                  #OBJ:
                                  #  - link 'URI'
                                  #  - status 'alive|dead'
                                  #  - statusCode NUM
                                  #  - err ERROR

MARKDOWN-LINK-CHECK               #Extract links from Markdown (using markdown-link-extractor, see its doc)
 ('MARKDOWN'[, OPTS], FUNC)       #Then uses LINK-CHECK('URI', OPTS, FUNC)
                                  #Extra OPTS:
                                  #  - showProgressBar BOOL (def: false)
                                  #Version 3.3.0

markdown-link-check FILE|URI      #As CLI.
--progress                        #On top of MARKDONW-LINK-CHECK:
                                  #  - fetches FILE|URI
{'fraction_non_alphanumeric': 0.24103896103896105, 'fraction_numerical': 0.008831168831168832, 'mean_word_length': 1.076010781671159, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 38, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '255699', 'n_tokens_mistral': 2831, 'n_tokens_neox': 2738, 'n_words': 215}