UNPKG
tap-out
Version:
latest (3.0.0)
3.0.0
2.1.0
2.0.0
1.4.2
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.3
1.1.2
1.1.0
1.0.0
0.1.0
A different tap parser
github.com/scottcorgan/tap-out
scottcorgan/tap-out
tap-out
/
lib
/
version.js
14 lines
(10 loc)
•
221 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var
expr =
require
(
'./utils/regexes'
);
var
exports
=
module
.
exports
=
function
(
line
) {
return
{
type
:
'version'
,
raw
: line }; };
exports
.
equals
=
function
(
line
) {
return
expr.
version
.
test
(line); };