UNPKG
leasot
Version:
latest (14.4.0)
14.4.0
13.3.0
13.2.0
13.1.0
13.0.0
12.5.0
12.2.0
12.1.0
12.0.0
11.6.0
11.5.0
11.4.0
11.3.0
11.2.0
11.1.0
11.0.0
10.8.0
10.7.0
10.6.0
10.5.0
10.4.0
10.3.0
10.2.0
10.1.0
10.0.0
9.3.1
9.3.0
9.2.0
9.1.0
9.0.0
8.3.0
8.2.0
8.1.0
8.0.0
7.5.0
7.4.0
7.3.4
7.3.3
7.3.2
7.3.1
7.3.0
7.2.0
7.1.0
7.0.0
7.0.0-rc.7
7.0.0-rc.6
7.0.0-rc.5
7.0.0-rc.4
7.0.0-rc.3
7.0.0-rc.2
7.0.0-rc.1
7.0.0-rc.0
6.6.2
6.6.1
6.6.0
6.5.0
6.3.0
6.2.1
6.2.0
6.1.0
6.0.2
6.0.1
6.0.0
5.2.0
5.1.0
5.0.0
4.13.0
4.12.0
4.11.0
4.10.2
4.10.1
4.10.0
4.9.0
4.8.0
4.7.1
4.7.0
4.6.0
4.5.0
4.4.0
4.3.1
4.3.0
4.2.1
4.2.0
4.1.0
4.0.2
4.0.1
3.2.2
3.2.1
3.2.0
3.1.2
3.1.1
3.1.0
3.0.1
3.0.0
2.6.0
2.5.0
2.4.0
2.3.0
2.2.3
2.2.2
2.2.1
2.2.0
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.0
1.0.0
0.3.1
0.3.0
0.2.1
0.2.0
0.1.0
Parse and output TODOs and FIXMEs from comments in your files
github.com/pgilad/leasot
pgilad/leasot
leasot
/
dist
/
lib
/
reporters
/
xml.js
8 lines
(7 loc)
•
215 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
json2xml
from
'json2xml'
;
export
const
reporter
= (
todos, config = { header:
true
}
) => {
return
json2xml
(todos, {
header
: config.
header
,
attributes_key
: config.
attributes_key
, }); };