Module

PhantomJS.System

Package
purescript-phantom
Repository
purescripters/purescript-phantom

#OS Source

type OS = { architecture :: String, name :: String, version :: String }

#os Source

os :: forall e. Eff (phantomjs :: PHANTOMJS | e) OS

Get the architecture, name, and version of the operating system.

#foldEnv Source

foldEnv :: forall a e. (a -> String -> String -> a) -> a -> Eff (phantomjs :: PHANTOMJS | e) a

fold over the keys and values of the system environment variables. First parameter is key, second is value

#getEnv Source

getEnv :: forall e. String -> Eff (phantomjs :: PHANTOMJS | e) (Maybe String)

#pid Source

pid :: forall e. Eff (phantomjs :: PHANTOMJS | e) Int

The PID (Process ID) for the currently executing PhantomJS process.