UNPKG
gerber-parser
Version:
latest (4.2.7)
next (4.0.0)
4.2.7
4.2.6
4.2.4
4.2.2
4.2.1
4.2.0
4.1.1
4.1.0
4.0.3
4.0.2
4.0.1
4.0.0
4.0.0-next.19
4.0.0-next.17
4.0.0-next.15
4.0.0-next.9
4.0.0-next.8
1.1.1
1.1.0
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.1
Streaming Gerber/drill file parser
github.com/tracespace/tracespace
tracespace/tracespace
gerber-parser
/
lib
/
_warning.js
9 lines
(6 loc)
•
211 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
// simple warning class to be emitted when something questionable in the gerber is found
'use strict'
var
warning =
function
(
message, line
) {
return
{
message
: message,
line
: line} }
module
.
exports
= warning