8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0c9df1a + dea4eca commit add31c3Copy full SHA for add31c3
.editorconfig
@@ -0,0 +1,180 @@
1
+#/
2
+# @license Apache-2.0
3
+#
4
+# Copyright (c) 2017 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
+# EditorConfig configuration file (see <http://editorconfig.org/>).
20
21
+# Indicate that this file is a root-level configuration file:
22
+root = true
23
24
25
+[*]
26
+end_of_line = lf
27
+charset = utf-8
28
+trim_trailing_whitespace = true
29
+insert_final_newline = true
30
31
+# Set properties for JavaScript files:
32
+[*.{js,js.txt}]
33
+indent_style = tab
34
35
+# Set properties for JavaScript ES module files:
36
+[*.{mjs,mjs.txt}]
37
38
39
+# Set properties for JavaScript CommonJS files:
40
+[*.{cjs,cjs.txt}]
41
42
43
+# Set properties for JSON files:
44
+[*.{json,json.txt}]
45
+indent_style = space
46
+indent_size = 2
47
48
+# Set properties for `cli_opts.json` files:
49
+[cli_opts.json]
50
51
52
+# Set properties for TypeScript files:
53
+[*.ts]
54
55
56
+# Set properties for Python files:
57
+[*.{py,py.txt}]
58
59
+indent_size = 4
60
61
+# Set properties for Julia files:
62
+[*.{jl,jl.txt}]
63
64
65
+# Set properties for R files:
66
+[*.{R,R.txt}]
67
68
69
+# Set properties for C files:
70
+[*.{c,c.txt}]
71
72
73
+# Set properties for C header files:
74
+[*.{h,h.txt}]
75
76
77
+# Set properties for C++ files:
78
+[*.{cpp,cpp.txt}]
79
80
81
+# Set properties for C++ header files:
82
+[*.{hpp,hpp.txt}]
83
84
85
+# Set properties for Fortran files:
86
+[*.{f,f.txt}]
87
88
89
90
+# Set properties for shell files:
91
+[*.{sh,sh.txt}]
92
93
94
+# Set properties for AWK files:
95
+[*.{awk,awk.txt}]
96
97
98
+# Set properties for HTML files:
99
+[*.{html,html.txt}]
100
101
+tab_width = 2
102
103
+# Set properties for XML files:
104
+[*.{xml,xml.txt}]
105
106
107
108
+# Set properties for CSS files:
109
+[*.{css,css.txt}]
110
111
112
+# Set properties for Makefiles:
113
+[Makefile]
114
115
116
+[*.{mk,mk.txt}]
117
118
119
+# Set properties for Markdown files:
120
+[*.{md,md.txt}]
121
122
123
+trim_trailing_whitespace = true # Note: this disables using two spaces to force a hard line break, which is permitted in Markdown. As we don't typically follow that practice (TMK), we should be safe to automatically trim.
124
125
+# Set properties for `usage.txt` files:
126
+[usage.txt]
127
128
129
130
+# Set properties for `repl.txt` files:
131
+[repl.txt]
132
133
134
135
+# Set properties for `package.json` files:
136
+[package.{json,json.txt}]
137
138
139
140
+# Set properties for `datapackage.json` files:
141
+[datapackage.json]
142
143
144
145
+# Set properties for `manifest.json` files:
146
+[manifest.json]
147
148
149
150
+# Set properties for `tsconfig.json` files:
151
+[tsconfig.json]
152
153
154
155
+# Set properties for LaTeX files:
156
+[*.{tex,tex.txt}]
157
158 10000 code>
159
+# Set properties for LaTeX Bibliography files:
160
+[*.{bib,bib.txt}]
161
162
163
+# Set properties for YAML files:
164
+[*.{yml,yml.txt}]
165
166
167
168
+# Set properties for GYP files:
169
+[binding.gyp]
170
171
172
173
+[*.gypi]
174
175
176
177
+# Set properties for citation files:
178
+[*.{cff,cff.txt}]
179
180
.eslintrc.js
@@ -0,0 +1 @@
+/* For the `eslint` rules of this project, consult the main repository at https://github.com/stdlib-js/stdlib */
.gitattributes
@@ -0,0 +1,66 @@
+# WITHOUT WARRANTIE 10000 S OR CONDITIONS OF ANY KIND, either express or implied.
+# Configuration file which assigns attributes to pathnames.
+# [1]: https://git-scm.com/docs/gitattributes
+# Automatically normalize the line endings of any committed text files:
+* text=auto
+# Override line endings for certain files on checkout:
+*.crlf.csv text eol=crlf
+# Denote that certain files are binary and should not be modified:
+*.png binary
+*.jpg binary
+*.jpeg binary
+*.gif binary
+*.ico binary
+*.gz binary
+*.zip binary
+*.7z binary
+*.mp3 binary
+*.mp4 binary
+*.mov binary
+# Override what is considered "vendored" by GitHub's linguist:
+/lib/node_modules/** -linguist-vendored -linguist-generated
+# Configure directories which should *not* be included in GitHub language statistics:
+/deps/** linguist-vendored
+/dist/** linguist-generated
+/workshops/** linguist-vendored
+benchmark/** linguist-vendored
+docs/* linguist-documentation
+etc/** linguist-vendored
+examples/** linguist-documentation
+scripts/** linguist-vendored
+test/** linguist-vendored
+tools/** linguist-vendored
+# Configure files which should *not* be included in GitHub language statistics:
+Makefile linguist-vendored
+*.mk linguist-vendored
+*.jl linguist-vendored
+*.py linguist-vendored
+*.R linguist-vendored
+# Configure files which should be included in GitHub language statistics:
+docs/types/*.d.ts -linguist-documentation
.github/.keepalive
+2025-02-24T01:19:00.979Z
.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,7 @@
+<!-- ----------^ Click "Preview"! -->
+We are excited about your pull request, but unfortunately we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/stdlib-js/stdlib). We kindly request that you submit this pull request against the [respective directory](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/streams/node/debug) of the main repository where we’ll review and provide feedback.
+If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/contributing/development.md) for help on developing stdlib.
+We look forward to receiving your contribution! :smiley:
.github/workflows/benchmark.yml
@@ -0,0 +1,64 @@
+# Copyright (c) 2021 The Stdlib Authors.
+# Workflow name:
+name: benchmark
+# Workflow triggers:
+on:
+ # Allow the workflow to be manually run:
+ workflow_dispatch:
+# Workflow jobs:
+jobs:
+ # Define a job to run benchmarks:
+ benchmark:
+ # Define a display name:
+ name: 'Run benchmarks'
+ # Define the type of virtual host machine:
+ runs-on: 'ubuntu-latest'
+ # Define the sequence of job steps...
+ steps:
+ # Checkout the repository:
+ - name: 'Checkout repository'
+ # Pin action to full length commit SHA
+ uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
+ # Install Node.js:
+ - name: 'Install Node.js'
+ uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
+ with:
+ node-version: 20
+ timeout-minutes: 5
+ # Install dependencies:
+ - name: 'Install production and development dependencies'
+ run: |
+ npm install || npm install || npm install
+ timeout-minutes: 15
+ # Run benchmarks:
+ - name: 'Run benchmarks'
+ npm run benchmark
.github/workflows/cancel.yml
@@ -0,0 +1,57 @@
+name: cancel
+ # Define a job to cancel existing workflow runs:
+ cancel:
+ name: 'Cancel workflow runs'
+ # Time limit:
+ timeout-minutes: 3
+ # Cancel existing workflow runs:
+ - name: 'Cancel existing workflow runs'
+ uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # v0.12.1
+ workflow_id: >-
+ benchmark.yml,
+ examples.yml,
+ test.yml,
+ test_coverage.yml,
+ test_install.yml,
+ publish.yml
+ access_token: ${{ github.token }}