tiny-cursor
Advanced tools
Comparing version
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
declare class Cursor { | ||
@@ -3,0 +2,0 @@ private stream; |
/* IMPORT */ | ||
import process from 'node:process'; | ||
import whenExit from 'when-exit'; | ||
@@ -3,0 +4,0 @@ /* MAIN */ |
@@ -1,3 +0,3 @@ | ||
import Cursor from './cursor'; | ||
import Cursor from './cursor.js'; | ||
declare const cursor: Cursor; | ||
export default cursor; |
@@ -5,3 +5,4 @@ { | ||
"description": "A tiny library for hiding and showing the cursor in the terminal.", | ||
"version": "2.0.0", | ||
"license": "MIT", | ||
"version": "2.0.1", | ||
"type": "module", | ||
@@ -17,3 +18,3 @@ "main": "dist/index.js", | ||
"test:watch": "tsex test --watch", | ||
"prepublishOnly": "npm run clean && npm run compile && npm run test" | ||
"prepublishOnly": "tsex prepare" | ||
}, | ||
@@ -28,10 +29,10 @@ "keywords": [ | ||
"dependencies": { | ||
"when-exit": "^2.0.0" | ||
"when-exit": "^2.1.4" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^17.0.23", | ||
"fava": "^0.0.6", | ||
"tsex": "^1.0.4", | ||
"typescript": "^4.6.3" | ||
"@types/node": "^18.19.71", | ||
"fava": "^0.3.4", | ||
"tsex": "^4.0.2", | ||
"typescript": "^5.7.3" | ||
} | ||
} |
@@ -8,3 +8,3 @@ # Tiny Cursor | ||
```sh | ||
npm install --save tiny-cursor | ||
npm install tiny-cursor | ||
``` | ||
@@ -11,0 +11,0 @@ |
3651
-34.95%7
-41.67%50
-58.68%Updated