UNPKG
chardet
Version:
latest (2.1.1)
2.1.1
2.1.0
2.0.0
1.6.1
1.6.0
1.5.1
1.5.0
1.4.0
1.3.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.2
0.4.1
0.4.0
0.3.0
0.1.0
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
Character encoding detector
github.com/runk/node-chardet
runk/node-chardet
chardet
/
lib
/
encoding
/
ascii.d.ts
7 lines
(6 loc)
•
222 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
type
{
Context
,
Recogniser
}
from
'.'
;
import
{
type
EncodingName
,
type
Match
}
from
'../match'
;
export
default
class
Ascii
implements
Recogniser
{
name
():
EncodingName
;
match
(
det
:
Context
):
Match
|
null
; }