mirror of
https://github.com/Turfjs/turf.git
synced 2025-12-08 20:26:16 +00:00
* Configure ESlint and Prettier - Disable all eslint rules that trigger - Build's lint step now runs monorepoint, prettier, and eslint - Remove all tslint references * [auto] run prettier on everything Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
16 lines
347 B
HTML
16 lines
347 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>ES Modules</title>
|
|
</head>
|
|
<body>
|
|
<script type="module">
|
|
import { point, greatCircle } from "https://unpkg.com/@turf/turf?module";
|
|
|
|
console.log(greatCircle([0, 0], [100, 10]));
|
|
console.log(point([100, 0]));
|
|
</script>
|
|
</body>
|
|
</html>
|