Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
323 B
22 lines
323 B
1 year ago
|
declare namespace terminalSize {
|
||
|
interface Size {
|
||
|
columns: number;
|
||
|
rows: number;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Reliably get the terminal window size.
|
||
|
|
||
|
@example
|
||
|
```
|
||
|
import terminalSize = require('term-size');
|
||
|
|
||
|
terminalSize();
|
||
|
//=> {columns: 143, rows: 24}
|
||
|
```
|
||
|
*/
|
||
|
declare function terminalSize(): terminalSize.Size;
|
||
|
|
||
|
export = terminalSize;
|