turf/examples/browser/index.html
mfedderly 2e9d3d51f7
Add Prettier and ESLint to the builds (#1965)
* 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>
2020-12-08 19:24:15 -05:00

16 lines
368 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Browser</title>
<script src="https://unpkg.com/@turf/turf"></script>
</head>
<body>
<script>
console.log(turf.greatCircle([0, 0], [100, 10]));
console.log(turf.point([100, 0]));
console.log(turf.bbox(turf.point([100, 0])));
</script>
</body>
</html>