1.9.104 • Published 6 months ago

@urlint/core v1.9.104

Weekly downloads
66
License
MIT
Repository
github
Last release
6 months ago

urlint-core

Last version Build Status Coverage Status Dependency status Dev Dependencies Status NPM Status Donate

Get all the links behind an url and classify them based on HTTP status code.

Install

$ npm install @urlint/core --save

Usage

;(async () => {
  const urlint = require('@urlint/core')
  const url = 'https://kikobeats.com'
  const emitter = await urlint(url)

  emitter.on('*', function (event, data) {
    console.log(event, data)
  })

  emitter.on('end', function (data) {
    console.log('finished!')
  })
})()

API

urlint(urls, options)

urls

Required Type: string|string[]

The target URL(s) for detecting content.

options

concurrence

Type: number Default: 8

The number of URLs that can be resolved in parallel.

quiet

Type: boolean Default: false

When is true, it avoid print progress on terminal. This is oriented for CI environment and the value will be automatically inferred.

verbose

Type: boolean Default: false

When is true, it will be print more detailed information per every link as output.

prerender

Type: string|boolean Default: auto Values: auto|true|false

Get HTML markup from the target URL using prerendering.

retries

Type: number Default: 2

Maximum quantity of retries to do per every link after consider the URL is not reachable.

timeout

Type: timeout Default: 30000

Maximum quanitty of time in milliseconds to wait until consider the URL is not reachable.

followRedirect

Type: boolean Default: true

Defines if redirect responses should be followed automatically.

whitelist

Type: string[]

A set of URLs that can be ignored.

selector

Type: string

Specify a CSS Classname selector for getting the URLs from HTML markup.Specify a CSS Classname selector for getting the URLs from HTML markup.

License

urlint © Kiko Beats, released under the MIT License. Authored and maintained by Kiko Beats with help from contributors.

kikobeats.com · GitHub @Kiko Beats · Twitter @Kikobeats

1.9.99

8 months ago

1.9.98

8 months ago

1.9.97

8 months ago

1.9.96

8 months ago

1.9.95

9 months ago

1.9.94

9 months ago

1.9.93

9 months ago

1.9.92

10 months ago

1.9.91

10 months ago

1.9.90

10 months ago

1.9.100

7 months ago

1.9.103

6 months ago

1.9.104

6 months ago

1.9.101

7 months ago

1.9.102

7 months ago

1.9.89

1 year ago

1.9.88

1 year ago

1.9.87

1 year ago

1.9.86

1 year ago

1.9.85

1 year ago

1.9.84

1 year ago

1.9.83

1 year ago

1.9.82

1 year ago

1.9.81

1 year ago

1.9.80

1 year ago

1.9.79

2 years ago

1.9.78

2 years ago

1.9.77

2 years ago

1.9.76

2 years ago

1.9.69

2 years ago

1.9.75

2 years ago

1.9.74

2 years ago

1.9.73

2 years ago

1.9.72

2 years ago

1.9.71

2 years ago

1.9.70

2 years ago

1.9.68

2 years ago

1.9.67

2 years ago

1.9.66

2 years ago

1.9.65

2 years ago

1.9.64

2 years ago

1.9.63

2 years ago

1.9.62

2 years ago

1.9.61

2 years ago

1.9.60

2 years ago

1.9.56

2 years ago

1.9.55

2 years ago

1.9.54

2 years ago

1.9.53

2 years ago

1.9.49

2 years ago

1.9.37

3 years ago

1.9.36

3 years ago

1.9.35

3 years ago

1.9.34

3 years ago

1.9.33

3 years ago

1.9.32

3 years ago

1.9.31

3 years ago

1.9.29

3 years ago

1.9.28

3 years ago

1.9.27

3 years ago

1.9.26

3 years ago

1.9.25

3 years ago

1.9.24

3 years ago

1.9.22

4 years ago

1.9.21

4 years ago

1.9.19

4 years ago

1.9.18

4 years ago

1.9.17

4 years ago

1.9.16

4 years ago

1.9.15

4 years ago

1.9.14

4 years ago

1.9.13

4 years ago

1.9.12

4 years ago

1.9.11

4 years ago

1.9.10

4 years ago

1.9.9

4 years ago

1.9.8

4 years ago

1.9.7

4 years ago

1.9.6

4 years ago

1.9.5

4 years ago

1.9.4

4 years ago

1.9.3

4 years ago

1.9.2

4 years ago

1.9.1

4 years ago

1.9.0

4 years ago

1.8.7

4 years ago

1.8.6

4 years ago

1.8.5

5 years ago

1.8.4

5 years ago

1.8.3

5 years ago

1.8.2

5 years ago

1.8.1

5 years ago

1.5.3

5 years ago

1.5.2

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.3

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.1

6 years ago