0.0.4 • Published 4 months ago

@gjsify/process v0.0.4

Weekly downloads
5
License
-
Repository
-
Last release
4 months ago

@gjsify/process License: ISC

process core module for gjs forked from @cgjs/process

Currently usable

  • abort()
  • arch, via require('os').arch()
  • argv
  • argv0
  • cwd()
  • env
  • exit([code])
  • nexttick(callback[, ...args]), via setImmediate(...)
  • pid, via new Gio.Credentials().get_unix_pid(). Not sure yet it works for macOS
  • platform, via require('os').platform()
  • title, via GLib.get_prgname()
  • version, via cgjs package.json version
  • uptime, via Date.now() - START_TIME
  • versions(), via cgjs package.json dependencies