We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd9bc87 commit b168518Copy full SHA for b168518
2 files changed
.gitignore
@@ -1,14 +1,7 @@
1
.rpt2_cache
2
packages/*/dist
3
-main.js
4
-main.es.js
5
-main.mjs
6
-main.min.js
7
-index.mjs
8
*.min.js
9
-*.es5.js
10
.esm-cache
11
-package-lock.json
12
env
13
.nyc_output
14
lib-cov
test/node-esm/index.mjs
@@ -0,0 +1,15 @@
+import * as turf from "@turf/turf";
+
+const polygon = turf.polygon([
+ [
+ [125, -15],
+ [113, -22],
+ [154, -27],
+ [144, -15],
+ ],
+]);
+const area = turf.area(polygon);
15
+console.log(area);
0 commit comments