Permalink
Browse files

docs: add documentation for `process.config`

  • Loading branch information...
1 parent 293d9a2 commit 581a9643af224f908874223ecc01fcc30dae1962 @TooTallNate committed Mar 14, 2012
Showing with 27 additions and 0 deletions.
  1. +27 −0 doc/api/process.markdown
View
@@ -256,6 +256,33 @@ Will output:
ev: '4.4',
openssl: '1.0.0e-fips' }
+## process.config
+
+An Object containing the JavaScript representation of the configure options
+that were used to compile the current node executable. This is the same as
+the "config.gypi" file that was produced when running the `./configure` script.
+
+An example of the possible output looks like:
+
+ { target_defaults:
+ { cflags: [],
+ default_configuration: 'Release',
+ defines: [],
+ include_dirs: [],
+ libraries: [] },
+ variables:
+ { host_arch: 'x64',
+ node_install_npm: 'true',
+ node_install_waf: 'true',
+ node_prefix: '',
+ node_shared_v8: 'false',
+ node_shared_zlib: 'false',
+ node_use_dtrace: 'false',
+ node_use_openssl: 'true',
+ node_use_system_openssl: 'false',
+ strict_aliasing: 'true',
+ target_arch: 'x64',
+ v8_use_snapshot: 'true' } }
## process.installPrefix

0 comments on commit 581a964

Please sign in to comment.