Skip to content
Console
llms.txtUser help

network (namespace of @fkn/lib)

function request(hosts): Promise<boolean>;

Asks the person, with one card from fkn.app, to let this app reach hosts: host names, *.name, or "<all_urls>" for any site. True once every one is allowed, and from a broker that applies no network rule; false on Not now, for a list off the grammar, or where fkn.app cannot show a card. A fetch() or asynchronous XMLHttpRequest uses the answer at once; images, styles, frames and sockets from the app’s next load.

string[]

Promise<boolean>