@cgjs/process

0.0.4 • Public • Published

@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

Package Sidebar

Install

npm i @cgjs/process

Weekly Downloads

2

Version

0.0.4

License

ISC

Unpacked Size

3.51 kB

Total Files

3

Last publish

Collaborators

  • webreflection