class NPMScan::Scanner

Defined in:

npm_scan/scanner.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(api_workers : Int32 = 30, dns_workers : Int32 = 100, wordlist : IO | Nil = nil, cache : IO | Nil = nil, resume : Bool = false, resumed_packages : Set(String) = Set(String).new) #

[View source]

Instance Method Detail

def api_workers : Int32 #

[View source]
def cache : IO | Nil #

[View source]
def dns_workers : Int32 #

[View source]
def each_package_name(&) #

[View source]
def resume? : Bool #

[View source]
def resumed_packages : Set(String) #

[View source]
def scan(&block : AbandonedPackage | OrphanedPackage | Error -> ) #

[View source]
def wordlist : IO | Nil #

[View source]