0.0.4 • Published 6 years ago

@cgjs/process v0.0.4

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

@cgjs/process License: ISC

process core module for cgjs

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