'use strict';

/*
* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.
*/

// MODULES //

var setReadOnly = require( '@stdlib/utils/define-read-only-property' );


// MAIN //

/**
* Top-level namespace.
*
* @namespace ns
*/
var ns = {};

/**
* @name ARGV
* @memberof ns
* @readonly
* @type {Array}
* @see {@link module:@stdlib/process/argv}
*/
setReadOnly( ns, 'ARGV', require( '@stdlib/process/argv' ) );

/**
* @name cwd
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/process/cwd}
*/
setReadOnly( ns, 'cwd', require( '@stdlib/process/cwd' ) );

/**
* @name ENV
* @memberof ns
* @readonly
* @type {Object}
* @see {@link module:@stdlib/process/env}
*/
setReadOnly( ns, 'ENV', require( '@stdlib/process/env' ) );

/**
* @name getuid
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/process/getuid}
*/
setReadOnly( ns, 'getuid', require( '@stdlib/process/getuid' ) );

/**
* @name NODE_VERSION
* @memberof ns
* @readonly
* @type {(string|null)}
* @see {@link module:@stdlib/process/node-version}
*/
setReadOnly( ns, 'NODE_VERSION', require( '@stdlib/process/node-version' ) );

/**
* @name stdin
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/process/read-stdin}
*/
setReadOnly( ns, 'stdin', require( '@stdlib/process/read-stdin' ) );


// EXPORTS //

module.exports = ns;

'use strict';

/*
* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.
*/

// MODULES //

var setReadOnly = require( '@stdlib/utils/define-read-only-property' );


// MAIN //

/**
* Top-level namespace.
*
* @namespace ns
*/
var ns = {};

/**
* @name ARGV
* @memberof ns
* @readonly
* @type {Array}
* @see {@link module:@stdlib/process/argv}
*/
setReadOnly( ns, 'ARGV', require( '@stdlib/process/argv' ) );

/**
* @name chdir
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/process/chdir}
*/
setReadOnly( ns, 'chdir', require( '@stdlib/process/chdir' ) );

/**
* @name cwd
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/process/cwd}
*/
setReadOnly( ns, 'cwd', require( '@stdlib/process/cwd' ) );

/**
* @name ENV
* @memberof ns
* @readonly
* @type {Object}
* @see {@link module:@stdlib/process/env}
*/
setReadOnly( ns, 'ENV', require( '@stdlib/process/env' ) );

/**
* @name getuid
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/process/getuid}
*/
setReadOnly( ns, 'getuid', require( '@stdlib/process/getuid' ) );

/**
* @name NODE_VERSION
* @memberof ns
* @readonly
* @type {(string|null)}
* @see {@link module:@stdlib/process/node-version}
*/
setReadOnly( ns, 'NODE_VERSION', require( '@stdlib/process/node-version' ) );

/**
* @name stdin
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/process/read-stdin}
*/
setReadOnly( ns, 'stdin', require( '@stdlib/process/read-stdin' ) );


// EXPORTS //

module.exports = ns;

Update namespace