UNPKG
stdnum
Version:
latest (1.11.3)
1.11.3
1.11.2
1.11.1
1.11.0
1.10.8
1.10.7
1.10.6
1.10.5
1.10.4
1.10.3
1.10.2
1.10.1
1.10.0
1.9.16
1.9.15
1.9.14
1.9.13
1.9.12
1.9.11
1.9.10
1.9.9
1.9.8
1.9.7
1.9.6
1.9.5
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.2
1.8.1
1.8.0
1.7.1
1.7.0
1.6.13
1.6.12
1.6.11
1.6.10
1.6.9
1.6.8
1.6.7
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.3
1.5.2
1.5.1
1.5.0
1.4.15
1.4.14
1.4.13
1.4.12
1.4.11
1.4.10
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.2.3
1.2.2
1.0.2
1.0.1
1.0.0
0.3.0
0.2.15
0.2.14
0.2.13
0.2.12
0.2.11
0.2.10
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.3
0.2.2
0.2.1
0.2.0
0.1.7
0.1.6
0.1.5
0.1.4
0.1.2
0.1.1
0.0.10
0.0.8
0.0.7
0.0.5
0.0.3
Standard Number Validation
github.com/koblas/stdnum-js
koblas/stdnum-js
stdnum
/
lib
/
esm
/
util
/
strings
/
clean.d.ts
3 lines
(2 loc)
•
199 B
TypeScript
View Raw
1
2
3
import
*
as
exceptions
from
'../../exceptions'
;
export
declare
function
cleanUnicode
(
value
:
string
,
deletechars
?:
string
,
stripPrefix
?:
string
|
string
[]
): [
string
, exceptions.
InvalidFormat
|
null
];