Gathering detailed insights and metrics for ink-use-stdout-dimensions
Gathering detailed insights and metrics for ink-use-stdout-dimensions
Gathering detailed insights and metrics for ink-use-stdout-dimensions
Gathering detailed insights and metrics for ink-use-stdout-dimensions
npm install ink-use-stdout-dimensions
Typescript
Module System
Node Version
NPM Version
TypeScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
30 Stars
21 Commits
3 Forks
2 Watchers
8 Branches
1 Contributors
Updated on Dec 05, 2024
Latest Version
1.0.5
Package Id
ink-use-stdout-dimensions@1.0.5
Size
1.92 kB
NPM Version
lerna/3.20.2/node@v12.14.0+x64 (darwin)
Node Version
12.14.0
Published on
Jan 26, 2020
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
React hook for subscribing to stdout dimensions in Ink
$ npm install ink-use-stdout-dimensions
$ yarn add ink-use-stdout-dimensions
1import React from 'react'; 2import { render } from 'ink'; 3import useStdoutDimensions from 'ink-use-stdout-dimensions'; 4 5function Application() { 6 const [columns, rows] = useStdoutDimensions(); 7 return ( 8 <Text> 9 {columns}×{rows} 10 </Text> 11 ); 12} 13 14render(<Application />);
useStdoutDimensions(): [number, number]
Returns initial stdout
columns and rows and updates values on resize
events.
MIT © Cameron Hunter
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
Found 0/21 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
52 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More