This website works better with JavaScript.
Home
Explore
Help
Sign In
lukechilds
/
now-cli
mirror of
https://github.com/lukechilds/now-cli.git
Watch
1
Star
0
Fork
0
Code
Issues
Projects
Releases
Wiki
Activity
1227
Commits
2
Branches
188
Tags
2.3 MiB
JavaScript
100%
Tree:
1fd521ab27
now-cli
/
lib
/
strlen.js
5 lines
99 B
Raw
Blame
History
function
strlen
(
str
)
{
return
str
.
replace
(
/\u001b[^m]*m/g
,
''
)
.
length
}
module
.
exports
=
strlen
Reference in new issue