char/avril
(wip) why'd you have to go and make things so complicaaaaated?
git clone https://git.t4t.associates/char/avril
38d7f6c
main
1declare module"ext:core/ops" { 2import type { FileReply } from "ext:file/errors.js" ; 3 4export function op_env_get ( name :string ) :FileReply < string | null >; 5export function op_env_set ( args :[ name :string , value :string ]) :FileReply < null >; 6export function op_env_delete ( name :string ) :FileReply < null >; 7export function op_env_to_object () :[ name :string , value :string ][]; 8export function op_process_cwd () :FileReply < string >; 9export function op_sys_hostname () :FileReply < string >; 10export function op_sys_os_release () :FileReply < string >; 11export function op_sys_uptime () :FileReply < number >; 12export function op_sys_loadavg () :FileReply <[ number , number , number ]>; 13export function op_runtime_info () :[ 14pid :number , 15os :"linux" | "macos" | "windows" , 16arch :"x86_64" | "aarch64" , 17version :string , 18v8 :string , 19args :string [], 20]; 21export function op_pledge ( request :import ( "./pledge.js" ). PledgeRow []) :string | null ; 22}