/
var
/
www
/
verywell.gr
/
server
/
delivery
/
node_modules
/
string-width
/
/var/www/verywell.gr/server/delivery/node_modules/string-width
mkdir
upload
Name
Size
Mode
Actions
index.d.ts
792
0644
edit
dl
rm
index.js
923
0644
edit
dl
rm
license
1109
0644
edit
dl
rm
package.json
2106
0644
edit
dl
rm
readme.md
1396
0644
edit
dl
rm
Edit:
/var/www/verywell.gr/server/delivery/node_modules/string-width/index.d.ts
(792B)
declare const stringWidth: { /** Get the visual width of a string - the number of columns required to display it. Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width. @example ``` import stringWidth = require('string-width'); stringWidth('a'); //=> 1 stringWidth('古'); //=> 2 stringWidth('\u001B[1m古\u001B[22m'); //=> 2 ``` */ (string: string): number; // TODO: remove this in the next major version, refactor the whole definition to: // declare function stringWidth(string: string): number; // export = stringWidth; default: typeof stringWidth; } export = stringWidth;
Save
cmd:
run