readprogress
Advanced tools
+4
-0
@@ -68,1 +68,5 @@ "use strict"; | ||
| var ReadProgress_default = ProgressBar; | ||
| // Annotate the CommonJS export names for ESM import in node: | ||
| 0 && (module.exports = { | ||
| ReadProgress | ||
| }); |
+5
-5
| { | ||
| "name": "readprogress", | ||
| "version": "0.0.5", | ||
| "version": "0.0.6", | ||
| "author": "Cobby <nkumsagoefredrick@gmail.com>", | ||
@@ -11,4 +11,4 @@ "description": ".A React component that shows the progress of reading a page", | ||
| "license": "MIT", | ||
| "main": "/lib/src/index.js", | ||
| "type": "module", | ||
| "main": "lib/index.js", | ||
| "keywords": [ | ||
@@ -36,4 +36,4 @@ "Read Progress", | ||
| "scripts": { | ||
| "build": "esbuild --bundle src/index.ts --outfile=lib/index.js --target=es2017 --format=cjs --external:react" | ||
| } | ||
| "build": "esbuild src/index.ts --bundle --outfile=lib/index.js --platform=node --target=es2017 --format=cjs --external:react" | ||
| } | ||
| } |
| /// <reference types="react" /> | ||
| type progressBarProps = { | ||
| color: string; | ||
| height: number; | ||
| scrollOffset: number; | ||
| zIndex: number; | ||
| }; | ||
| declare const ProgressBar: React.FC<progressBarProps>; | ||
| export default ProgressBar; |
8708
-1.5%11
-8.33%128
-3.76%No
NaN