UNPKG
point-at-length
Version:
latest (1.1.0)
1.1.0
1.0.2
1.0.1
1.0.0
compute a point from an svg path string
github.com/substack/point-at-length
substack/point-at-length
point-at-length
/
example
/
len.js
4 lines
(3 loc)
•
108 B
JavaScript
View Raw
1
2
3
4
var
point =
require
(
'../'
);
var
pts =
point
(process.
argv
.
slice
(
2
).
join
(
' '
));
console
.
log
(pts.
length
());