diff --git a/.github/.keepalive b/.github/.keepalive
deleted file mode 100644
index a6ea6e9..0000000
--- a/.github/.keepalive
+++ /dev/null
@@ -1 +0,0 @@
-2023-08-01T03:48:47.452Z
diff --git a/.github/workflows/productionize.yml b/.github/workflows/productionize.yml
index 334eb59..91f2b93 100644
--- a/.github/workflows/productionize.yml
+++ b/.github/workflows/productionize.yml
@@ -82,21 +82,6 @@ jobs:
id: transform-error-messages
uses: stdlib-js/transform-errors-action@main
- # Format error messages:
- - name: 'Replace double quotes with single quotes in rewritten format string error messages'
- run: |
- find . -name "*.js" -exec sed -E -i "s/Error\( format\( \"([a-zA-Z0-9]+)\"/Error\( format\( '\1'/g" {} \;
-
- # Format string literal error messages:
- - name: 'Replace double quotes with single quotes in rewritten string literal error messages'
- run: |
- find . -name "*.js" -exec sed -E -i "s/Error\( format\(\"([a-zA-Z0-9]+)\"\)/Error\( format\( '\1' \)/g" {} \;
-
- # Format code:
- - name: 'Replace double quotes with single quotes in inserted `require` calls'
- run: |
- find . -name "*.js" -exec sed -E -i "s/require\( ?\"@stdlib\/error-tools-fmtprodmsg\" ?\);/require\( '@stdlib\/error-tools-fmtprodmsg' \);/g" {} \;
-
# Change `@stdlib/string-format` to `@stdlib/error-tools-fmtprodmsg` in package.json if the former is a dependency, otherwise insert it as a dependency:
- name: 'Update dependencies in package.json'
run: |
diff --git a/dist/index.d.ts b/dist/index.d.ts
new file mode 100644
index 0000000..a1f7dea
--- /dev/null
+++ b/dist/index.d.ts
@@ -0,0 +1,3 @@
+///
+import incrmrmse from '../docs/types/index';
+export = incrmrmse;
\ No newline at end of file
diff --git a/dist/index.js b/dist/index.js
new file mode 100644
index 0000000..cf6aafb
--- /dev/null
+++ b/dist/index.js
@@ -0,0 +1,5 @@
+"use strict";var m=function(i,r){return function(){return r||i((r={exports:{}}).exports,r),r.exports}};var u=m(function(p,n){
+var o=require('@stdlib/assert-is-positive-integer/dist').isPrimitive,c=require('@stdlib/stats-incr-mmean/dist'),t=require('@stdlib/math-base-special-sqrt/dist'),f=require('@stdlib/error-tools-fmtprodmsg/dist');function l(i){var r;if(!o(i))throw new TypeError(f('1J18B',i));return r=c(i),a;function a(s,v){var e;return arguments.length===0?(e=r(),e===null?e:t(e)):(e=v-s,t(r(e*e)))}}n.exports=l
+});var q=u();module.exports=q;
+/** @license Apache-2.0 */
+//# sourceMappingURL=index.js.map
diff --git a/dist/index.js.map b/dist/index.js.map
new file mode 100644
index 0000000..177ee6a
--- /dev/null
+++ b/dist/index.js.map
@@ -0,0 +1,7 @@
+{
+ "version": 3,
+ "sources": ["../lib/main.js", "../lib/index.js"],
+ "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n// MODULES //\n\nvar isPositiveInteger = require( '@stdlib/assert-is-positive-integer' ).isPrimitive;\nvar incrmmean = require( '@stdlib/stats-incr-mmean' );\nvar sqrt = require( '@stdlib/math-base-special-sqrt' );\nvar format = require( '@stdlib/string-format' );\n\n\n// MAIN //\n\n/**\n* Returns an accumulator function which incrementally computes a moving root mean squared error.\n*\n* @param {PositiveInteger} W - window size\n* @throws {TypeError} must provide a positive integer\n* @returns {Function} accumulator function\n*\n* @example\n* var accumulator = incrmrmse( 3 );\n*\n* var r = accumulator();\n* // returns null\n*\n* r = accumulator( 2.0, 3.0 );\n* // returns 1.0\n*\n* r = accumulator( -5.0, 2.0 );\n* // returns 5.0\n*\n* r = accumulator( 3.0, 2.0 );\n* // returns ~4.12\n*\n* r = accumulator( 5.0, -2.0 );\n* // returns ~5.74\n*\n* r = accumulator();\n* // returns ~5.74\n*/\nfunction incrmrmse( W ) {\n\tvar mean;\n\tif ( !isPositiveInteger( W ) ) {\n\t\tthrow new TypeError( format( 'invalid argument. Must provide a positive integer. Value: `%s`.', W ) );\n\t}\n\tmean = incrmmean( W );\n\treturn accumulator;\n\n\t/**\n\t* If provided input values, the accumulator function returns an updated root mean squared error. If not provided input values, the accumulator function returns the current root mean squared error.\n\t*\n\t* @private\n\t* @param {number} [x] - input value\n\t* @param {number} [y] - input value\n\t* @returns {(number|null)} root mean squared error or null\n\t*/\n\tfunction accumulator( x, y ) {\n\t\tvar r;\n\t\tif ( arguments.length === 0 ) {\n\t\t\tr = mean();\n\t\t\tif ( r === null ) {\n\t\t\t\treturn r;\n\t\t\t}\n\t\t\treturn sqrt( r );\n\t\t}\n\t\tr = y - x;\n\t\treturn sqrt( mean( r*r ) );\n\t}\n}\n\n\n// EXPORTS //\n\nmodule.exports = incrmrmse;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/**\n* Compute a moving root mean squared error (RMSE) incrementally.\n*\n* @module @stdlib/stats-incr-mrmse\n*\n* @example\n* var incrmrmse = require( '@stdlib/stats-incr-mrmse' );\n*\n* var accumulator = incrmrmse( 3 );\n*\n* var r = accumulator();\n* // returns null\n*\n* r = accumulator( 2.0, 3.0 );\n* // returns 1.0\n*\n* r = accumulator( -5.0, 2.0 );\n* // returns 5.0\n*\n* r = accumulator( 3.0, 2.0 );\n* // returns ~4.12\n*\n* r = accumulator( 5.0, -2.0 );\n* // returns ~5.74\n*\n* r = accumulator();\n* // returns ~5.74\n*/\n\n// MODULES //\n\nvar main = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = main;\n"],
+ "mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAoB,QAAS,oCAAqC,EAAE,YACpEC,EAAY,QAAS,0BAA2B,EAChDC,EAAO,QAAS,gCAAiC,EACjDC,EAAS,QAAS,uBAAwB,EAiC9C,SAASC,EAAWC,EAAI,CACvB,IAAIC,EACJ,GAAK,CAACN,EAAmBK,CAAE,EAC1B,MAAM,IAAI,UAAWF,EAAQ,kEAAmEE,CAAE,CAAE,EAErG,OAAAC,EAAOL,EAAWI,CAAE,EACbE,EAUP,SAASA,EAAaC,EAAGC,EAAI,CAC5B,IAAIC,EACJ,OAAK,UAAU,SAAW,GACzBA,EAAIJ,EAAK,EACJI,IAAM,KACHA,EAEDR,EAAMQ,CAAE,IAEhBA,EAAID,EAAID,EACDN,EAAMI,EAAMI,EAAEA,CAAE,CAAE,EAC1B,CACD,CAKAX,EAAO,QAAUK,ICxCjB,IAAIO,EAAO,IAKX,OAAO,QAAUA",
+ "names": ["require_main", "__commonJSMin", "exports", "module", "isPositiveInteger", "incrmmean", "sqrt", "format", "incrmrmse", "W", "mean", "accumulator", "x", "y", "r", "main"]
+}
diff --git a/docs/types/index.d.ts b/docs/types/index.d.ts
index 452ca16..9d7a7b0 100644
--- a/docs/types/index.d.ts
+++ b/docs/types/index.d.ts
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-// TypeScript Version: 2.0
+// TypeScript Version: 4.1
///