@ohos-ports/stdlib-process 0.0.0-stage → 0.4.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/LICENSE +177 -0
  2. package/NOTICE +1 -0
  3. package/README.md +220 -2
  4. package/SECURITY.md +5 -0
  5. package/argv/README.md +104 -0
  6. package/argv/docs/repl.txt +22 -0
  7. package/argv/docs/types/index.d.ts +33 -0
  8. package/argv/docs/types/test.ts +28 -0
  9. package/argv/lib/browser.js +28 -0
  10. package/argv/lib/index.js +40 -0
  11. package/argv/lib/main.js +43 -0
  12. package/argv/package.json +70 -0
  13. package/chdir/README.md +124 -0
  14. package/chdir/docs/repl.txt +25 -0
  15. package/chdir/docs/types/index.d.ts +42 -0
  16. package/chdir/docs/types/test.ts +45 -0
  17. package/chdir/lib/index.js +42 -0
  18. package/chdir/lib/main.js +52 -0
  19. package/chdir/lib/polyfill.js +42 -0
  20. package/chdir/package.json +73 -0
  21. package/cwd/README.md +140 -0
  22. package/cwd/bin/cli +60 -0
  23. package/cwd/docs/repl.txt +17 -0
  24. package/cwd/docs/types/index.d.ts +35 -0
  25. package/cwd/docs/types/test.ts +33 -0
  26. package/cwd/docs/usage.txt +8 -0
  27. package/cwd/etc/cli_opts.json +14 -0
  28. package/cwd/lib/index.js +40 -0
  29. package/cwd/lib/main.js +44 -0
  30. package/cwd/lib/polyfill.js +40 -0
  31. package/cwd/package.json +75 -0
  32. package/docs/types/index.d.ts +225 -0
  33. package/env/README.md +104 -0
  34. package/env/docs/repl.txt +12 -0
  35. package/env/docs/types/index.d.ts +32 -0
  36. package/env/docs/types/test.ts +28 -0
  37. package/env/lib/browser.js +28 -0
  38. package/env/lib/index.js +39 -0
  39. package/env/lib/main.js +42 -0
  40. package/env/package.json +72 -0
  41. package/exec-path/README.md +90 -0
  42. package/exec-path/docs/repl.txt +13 -0
  43. package/exec-path/docs/types/index.d.ts +36 -0
  44. package/exec-path/docs/types/test.ts +28 -0
  45. package/exec-path/lib/browser.js +23 -0
  46. package/exec-path/lib/index.js +55 -0
  47. package/exec-path/lib/main.js +46 -0
  48. package/exec-path/package.json +72 -0
  49. package/getegid/README.md +107 -0
  50. package/getegid/docs/repl.txt +20 -0
  51. package/getegid/docs/types/index.d.ts +38 -0
  52. package/getegid/docs/types/test.ts +33 -0
  53. package/getegid/lib/index.js +39 -0
  54. package/getegid/lib/main.js +45 -0
  55. package/getegid/lib/native.js +44 -0
  56. package/getegid/lib/polyfill.js +40 -0
  57. package/getegid/package.json +76 -0
  58. package/geteuid/README.md +111 -0
  59. package/geteuid/docs/repl.txt +20 -0
  60. package/geteuid/docs/types/index.d.ts +38 -0
  61. package/geteuid/docs/types/test.ts +33 -0
  62. package/geteuid/lib/index.js +39 -0
  63. package/geteuid/lib/main.js +45 -0
  64. package/geteuid/lib/native.js +44 -0
  65. package/geteuid/lib/polyfill.js +40 -0
  66. package/geteuid/package.json +76 -0
  67. package/getgid/README.md +107 -0
  68. package/getgid/docs/repl.txt +19 -0
  69. package/getgid/docs/types/index.d.ts +38 -0
  70. package/getgid/docs/types/test.ts +33 -0
  71. package/getgid/lib/index.js +39 -0
  72. package/getgid/lib/main.js +45 -0
  73. package/getgid/lib/native.js +44 -0
  74. package/getgid/lib/polyfill.js +40 -0
  75. package/getgid/package.json +75 -0
  76. package/getuid/README.md +111 -0
  77. package/getuid/docs/repl.txt +19 -0
  78. package/getuid/docs/types/index.d.ts +38 -0
  79. package/getuid/docs/types/test.ts +33 -0
  80. package/getuid/lib/index.js +39 -0
  81. package/getuid/lib/main.js +45 -0
  82. package/getuid/lib/native.js +44 -0
  83. package/getuid/lib/polyfill.js +40 -0
  84. package/getuid/package.json +75 -0
  85. package/lib/index.js +150 -0
  86. package/node-version/README.md +135 -0
  87. package/node-version/bin/cli +60 -0
  88. package/node-version/docs/repl.txt +12 -0
  89. package/node-version/docs/types/index.d.ts +42 -0
  90. package/node-version/docs/types/test.ts +28 -0
  91. package/node-version/docs/usage.txt +8 -0
  92. package/node-version/etc/cli_opts.json +14 -0
  93. package/node-version/lib/browser.js +23 -0
  94. package/node-version/lib/index.js +60 -0
  95. package/node-version/lib/main.js +43 -0
  96. package/node-version/lib/process.js +28 -0
  97. package/node-version/package.json +73 -0
  98. package/package.json +121 -4
  99. package/read-stdin/README.md +152 -0
  100. package/read-stdin/docs/types/index.d.ts +108 -0
  101. package/read-stdin/docs/types/test.ts +73 -0
  102. package/read-stdin/lib/browser.js +66 -0
  103. package/read-stdin/lib/index.js +47 -0
  104. package/read-stdin/lib/main.js +159 -0
  105. package/read-stdin/package.json +67 -0
  106. package/umask/README.md +281 -0
  107. package/umask/bin/cli +84 -0
  108. package/umask/docs/repl.txt +133 -0
  109. package/umask/docs/types/index.d.ts +69 -0
  110. package/umask/docs/types/test.ts +62 -0
  111. package/umask/docs/usage.txt +9 -0
  112. package/umask/etc/cli_opts.json +22 -0
  113. package/umask/lib/browser.js +133 -0
  114. package/umask/lib/from_symbolic.js +218 -0
  115. package/umask/lib/index.js +40 -0
  116. package/umask/lib/main.js +128 -0
  117. package/umask/lib/octal_codes.json +10 -0
  118. package/umask/lib/to_symbolic.js +57 -0
  119. package/umask/package.json +78 -0
@@ -0,0 +1,12 @@
1
+
2
+ {{alias}}
3
+ An object containing the user environment.
4
+
5
+ Examples
6
+ --------
7
+ > var user = {{alias}}.USER
8
+ <string>
9
+
10
+ See Also
11
+ --------
12
+
@@ -0,0 +1,32 @@
1
+ /*
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2019 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ // TypeScript Version: 4.1
20
+
21
+ /**
22
+ * An object containing the user environment.
23
+ *
24
+ * @example
25
+ * console.dir( ENV );
26
+ */
27
+ declare const ENV: Object;
28
+
29
+
30
+ // EXPORTS //
31
+
32
+ export = ENV;
@@ -0,0 +1,28 @@
1
+ /*
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2019 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ import ENV = require( './index' );
20
+
21
+
22
+ // TESTS //
23
+
24
+ // The variable is an object...
25
+ {
26
+ // eslint-disable-next-line @typescript-eslint/no-unused-expressions
27
+ ENV; // $ExpectType Object
28
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2018 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ 'use strict';
20
+
21
+ // MAIN //
22
+
23
+ var ENV = {};
24
+
25
+
26
+ // EXPORTS //
27
+
28
+ module.exports = ENV;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2018 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ 'use strict';
20
+
21
+ /**
22
+ * An object containing the user environment.
23
+ *
24
+ * @module @stdlib/process/env
25
+ *
26
+ * @example
27
+ * var ENV = require( '@ohos-ports/stdlib-process/env' );
28
+ *
29
+ * console.dir( ENV );
30
+ */
31
+
32
+ // MODULES //
33
+
34
+ var main = require( './main.js' );
35
+
36
+
37
+ // EXPORTS //
38
+
39
+ module.exports = main;
@@ -0,0 +1,42 @@
1
+ /**
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2018 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ 'use strict';
20
+
21
+ // MODULES //
22
+
23
+ var proc = require( 'process' );
24
+
25
+
26
+ // MAIN //
27
+
28
+ /**
29
+ * An object containing the user environment.
30
+ *
31
+ * @name ENV
32
+ * @type {Object}
33
+ *
34
+ * @example
35
+ * console.dir( ENV );
36
+ */
37
+ var ENV = proc.env;
38
+
39
+
40
+ // EXPORTS //
41
+
42
+ module.exports = ENV;
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "@stdlib/process/env",
3
+ "version": "0.0.0",
4
+ "description": "Object containing the user environment.",
5
+ "license": "Apache-2.0",
6
+ "author": {
7
+ "name": "The Stdlib Authors",
8
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
9
+ },
10
+ "contributors": [
11
+ {
12
+ "name": "The Stdlib Authors",
13
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
14
+ }
15
+ ],
16
+ "main": "./lib",
17
+ "browser": {
18
+ "./lib": "./lib/browser.js",
19
+ "process": "process/"
20
+ },
21
+ "directories": {
22
+ "doc": "./docs",
23
+ "example": "./examples",
24
+ "lib": "./lib",
25
+ "test": "./test"
26
+ },
27
+ "types": "./docs/types",
28
+ "scripts": {},
29
+ "homepage": "https://github.com/stdlib-js/stdlib",
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "git://github.com/stdlib-js/stdlib.git"
33
+ },
34
+ "bugs": {
35
+ "url": "https://github.com/stdlib-js/stdlib/issues"
36
+ },
37
+ "dependencies": {},
38
+ "devDependencies": {},
39
+ "engines": {
40
+ "node": ">=0.10.0",
41
+ "npm": ">2.7.0"
42
+ },
43
+ "os": [
44
+ "aix",
45
+ "darwin",
46
+ "freebsd",
47
+ "linux",
48
+ "macos",
49
+ "openbsd",
50
+ "sunos",
51
+ "win32",
52
+ "windows",
53
+ "openharmony"
54
+ ],
55
+ "keywords": [
56
+ "stdlib",
57
+ "stdutils",
58
+ "stdutil",
59
+ "utilities",
60
+ "utility",
61
+ "utils",
62
+ "util",
63
+ "process",
64
+ "environment",
65
+ "env",
66
+ "variables",
67
+ "vars",
68
+ "envvars",
69
+ "user",
70
+ "environ"
71
+ ]
72
+ }
@@ -0,0 +1,90 @@
1
+ <!--
2
+
3
+ @license Apache-2.0
4
+
5
+ Copyright (c) 2020 The Stdlib Authors.
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
18
+
19
+ -->
20
+
21
+ # Executable Path
22
+
23
+ > Absolute pathname of the executable which started the current Node.js process.
24
+
25
+ <section class="usage">
26
+
27
+ ## Usage
28
+
29
+ ```javascript
30
+ var EXEC_PATH = require( '@stdlib/process/exec-path' );
31
+ ```
32
+
33
+ #### EXEC_PATH
34
+
35
+ Absolute pathname of the executable which started the current Node.js process.
36
+
37
+ ```javascript
38
+ console.log( EXEC_PATH );
39
+ // => <string>
40
+ ```
41
+
42
+ </section>
43
+
44
+ <!-- /.usage -->
45
+
46
+ <section class="notes">
47
+
48
+ ## Notes
49
+
50
+ - In browser environments and environments other than Node.js, the absolute pathname of the executable is `null`.
51
+
52
+ </section>
53
+
54
+ <!-- /.notes -->
55
+
56
+ <section class="examples">
57
+
58
+ ## Examples
59
+
60
+ <!-- eslint no-undef: "error" -->
61
+
62
+ ```javascript
63
+ var EXEC_PATH = require( '@stdlib/process/exec-path' );
64
+
65
+ if ( EXEC_PATH ) {
66
+ console.log( 'Executable: %s', EXEC_PATH );
67
+ } else {
68
+ console.log( 'Not running in Node.js.' );
69
+ }
70
+ ```
71
+
72
+ </section>
73
+
74
+ <!-- /.examples -->
75
+
76
+ <!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
77
+
78
+ <section class="related">
79
+
80
+ </section>
81
+
82
+ <!-- /.related -->
83
+
84
+ <!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
85
+
86
+ <section class="links">
87
+
88
+ </section>
89
+
90
+ <!-- /.links -->
@@ -0,0 +1,13 @@
1
+
2
+ {{alias}}
3
+ Absolute pathname of the executable which started the current Node.js
4
+ process.
5
+
6
+ Examples
7
+ --------
8
+ > {{alias}}
9
+ <string>
10
+
11
+ See Also
12
+ --------
13
+
@@ -0,0 +1,36 @@
1
+ /*
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2020 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ // TypeScript Version: 4.1
20
+
21
+ /**
22
+ * Absolute pathname of the executable which started the current Node.js process.
23
+ *
24
+ * @example
25
+ * if ( EXEC_PATH ) {
26
+ * console.log( 'Executable: %s', EXEC_PATH );
27
+ * } else {
28
+ * console.log( 'Not running in Node.js.' );
29
+ * }
30
+ */
31
+ declare const EXEC_PATH: string;
32
+
33
+
34
+ // EXPORTS //
35
+
36
+ export = EXEC_PATH;
@@ -0,0 +1,28 @@
1
+ /*
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2020 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ import EXEC_PATH = require( './index' );
20
+
21
+
22
+ // TESTS //
23
+
24
+ // The variable is a string...
25
+ {
26
+ // eslint-disable-next-line @typescript-eslint/no-unused-expressions
27
+ EXEC_PATH; // $ExpectType string
28
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2020 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ 'use strict';
20
+
21
+ // EXPORTS //
22
+
23
+ module.exports = null;
@@ -0,0 +1,55 @@
1
+ /**
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2020 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ 'use strict';
20
+
21
+ /**
22
+ * Absolute pathname of the executable which started the current Node.js process.
23
+ *
24
+ * @module @stdlib/process/exec-path
25
+ *
26
+ * @example
27
+ * var EXEC_PATH = require( '@ohos-ports/stdlib-process/exec-path' );
28
+ *
29
+ * if ( EXEC_PATH ) {
30
+ * console.log( 'Executable: %s', EXEC_PATH );
31
+ * } else {
32
+ * console.log( 'Not running in Node.js.' );
33
+ * }
34
+ */
35
+
36
+ // MODULES //
37
+
38
+ var IS_NODE = require( '@ohos-ports/stdlib-assert/is-node' );
39
+ var node = require( './main.js' );
40
+ var browser = require( './browser.js' );
41
+
42
+
43
+ // MAIN //
44
+
45
+ var EXEC_PATH;
46
+ if ( IS_NODE ) {
47
+ EXEC_PATH = node;
48
+ } else {
49
+ EXEC_PATH = browser;
50
+ }
51
+
52
+
53
+ // EXPORTS //
54
+
55
+ module.exports = EXEC_PATH;
@@ -0,0 +1,46 @@
1
+ /**
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2020 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ 'use strict';
20
+
21
+ // MODULES //
22
+
23
+ var proc = require( 'process' );
24
+
25
+
26
+ // MAIN //
27
+
28
+ /**
29
+ * Absolute pathname of the executable which started the current Node.js process.
30
+ *
31
+ * @constant
32
+ * @type {string}
33
+ *
34
+ * @example
35
+ * if ( EXEC_PATH ) {
36
+ * console.log( 'Executable: %s', EXEC_PATH );
37
+ * } else {
38
+ * console.log( 'Not running in Node.js.' );
39
+ * }
40
+ */
41
+ var EXEC_PATH = proc.execPath;
42
+
43
+
44
+ // EXPORTS //
45
+
46
+ module.exports = EXEC_PATH;
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "@stdlib/process/exec-path",
3
+ "version": "0.0.0",
4
+ "description": "Absolute pathname of the executable which started the current Node.js process.",
5
+ "license": "Apache-2.0",
6
+ "author": {
7
+ "name": "The Stdlib Authors",
8
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
9
+ },
10
+ "contributors": [
11
+ {
12
+ "name": "The Stdlib Authors",
13
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
14
+ }
15
+ ],
16
+ "main": "./lib",
17
+ "browser": {
18
+ "./lib": "./lib/browser.js",
19
+ "process": "process/"
20
+ },
21
+ "directories": {
22
+ "doc": "./docs",
23
+ "example": "./examples",
24
+ "lib": "./lib",
25
+ "test": "./test"
26
+ },
27
+ "types": "./docs/types",
28
+ "scripts": {},
29
+ "homepage": "https://github.com/stdlib-js/stdlib",
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "git://github.com/stdlib-js/stdlib.git"
33
+ },
34
+ "bugs": {
35
+ "url": "https://github.com/stdlib-js/stdlib/issues"
36
+ },
37
+ "dependencies": {},
38
+ "devDependencies": {},
39
+ "engines": {
40
+ "node": ">=0.10.0",
41
+ "npm": ">2.7.0"
42
+ },
43
+ "os": [
44
+ "aix",
45
+ "darwin",
46
+ "freebsd",
47
+ "linux",
48
+ "macos",
49
+ "openbsd",
50
+ "sunos",
51
+ "win32",
52
+ "windows",
53
+ "openharmony"
54
+ ],
55
+ "keywords": [
56
+ "stdlib",
57
+ "stdutils",
58
+ "stdutil",
59
+ "utils",
60
+ "util",
61
+ "utilities",
62
+ "utility",
63
+ "node",
64
+ "nodejs",
65
+ "exec",
66
+ "executable",
67
+ "path",
68
+ "pathname",
69
+ "process",
70
+ "proc"
71
+ ]
72
+ }