-
Notifications
You must be signed in to change notification settings - Fork 16
/
caniuse.json.txt
90 lines (74 loc) · 4.31 KB
/
caniuse.json.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
CANIUSE
VERSION ==> #1.0.30000843
#JSON file containing information on:
# - browser usage (coming from StatCounter)
# - new features usage.
/=+===============================+=\
/ : : \
)==: DATA :==(
\ :_______________________________: /
\=+===============================+=/
OBJ:
- updated TIMESTAMP
- agents OBJ:
- BROWSER_NAME (see browserslist):
- browser|abbr 'NAME'
- prefix STR 'ms|moz|webkit|o'
- prefix_exceptions: VERSION: 'webkit|o'
- type 'desktop|mobile'
- usage_global:
- VERSION[-VERSION2]: NUM
- versions VERSION_ARR
- are all of the same length, and filled with null, i.e. can be compared
- statuses: 'rec|pr|cr|wd|ls|other|unoff': 'DESCRIPTION' (W3C status)
- cats:
- CSS: ['CSS[2|3]']
- HTML5: ['HTML5', 'Canvas']
- JS: ['JS']
- JS API: ['JS API']
- SVG: ['SVG']
- Security: ['Security']
- Other: ['PNG', 'DOM', 'Other']
- data:
- FEATURE_NAME:
- title STR
- description STR
- spec 'URL'
- status 'STATUS': see above
- categories STR_ARR: see above
- links OBJ_ARR:
- url 'URL'
- title STR
- stats:
- BROWSER_NAME:
- VERSION[-VERSION2] (or 'all' or 'TP'): 'y|a|p|n|u [x] [d] [#NOTE_NUM]'
- yes|almost|partial|no|unknown, requires prefix, disabled by default
- usage_perc_y|a NUM
- notes STR
- notes_by_num: NOTE_NUM: STR
- parent: 'FEATURE_NAME'
- keywords: 'STR,...'
- ucprefix BOOL: prefix should start with uppercase
- 'BROWSER_NAME_id' STR
COUNTRY_OBJ:
- id 'COUNTRY_CODE'
- name 'COUNTRY'
- month 'YYYY-MM'
- access_date 'YYYY-MM-DD'
- data: like OBJ.agents above, but for a specific country
/=+===============================+=\
/ : : \
)==: LITE :==(
\ :_______________________________: /
\=+===============================+=/
VERSION ==> #caniuse-lite (same version as caniuse-db, i.e. 1.0.30000843)
#Smaller version of caniuse-db
/=+===============================+=\
/ : : \
)==: API :==(
\ :_______________________________: /
\=+===============================+=/
VERSION ==> #caniuse-api 2.0.0
#API on top of caniuse-lite