The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
not_after(hostname, ip:port) - returns unix timestamp for hostname's ssl certificate expiration date. If a second argument will not be passed then will be used default (hostname:443).
Examples
local cert_util = require("cert_util")
local tx, err = cert_util.not_after("google.com", "64.233.165.101:443")
if err then error(err) end
if not(tx == 1548838740) then error("error!") end
state := lua.NewState()
Preload(state)
time.Preload(state)
source := `
local cert_util = require("cert_util")
local time = require("time")
local tx, err = cert_util.not_after("google.com", "64.233.165.101:443")
if err then error(err) end
print(tx > time.unix())
`
if err := state.DoString(source); err != nil {
log.Fatal(err.Error())
}