New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@turf/line-distance

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/line-distance - npm Package Compare versions

Comparing version 3.0.15 to 3.0.16

12

package.json
{
"name": "@turf/line-distance",
"version": "3.0.15",
"version": "3.0.16",
"description": "turf-line-distance ---",

@@ -11,3 +11,3 @@ "main": "index.js",

"type": "git",
"url": "https://github.com/Turfjs/turf-line-distance.git"
"url": "git://github.com/Turfjs/turf.git"
},

@@ -25,5 +25,5 @@ "keywords": [

"bugs": {
"url": "https://github.com/Turfjs/turf-line-distance/issues"
"url": "https://github.com/Turfjs/turf/issues"
},
"homepage": "https://github.com/Turfjs/turf-line-distance",
"homepage": "https://github.com/Turfjs/turf",
"devDependencies": {

@@ -34,5 +34,5 @@ "benchmark": "^1.0.0",

"dependencies": {
"@turf/distance": "^3.0.15",
"@turf/helpers": "^3.0.15"
"@turf/distance": "^3.0.16",
"@turf/helpers": "^3.0.16"
}
}

@@ -1,10 +0,10 @@

# turf-line-distance
# @turf/line-distance
# lineDistance
Takes a [line](LineString) and measures its length in the specified units.
Takes a [line](http://geojson.org/geojson-spec.html#linestring) and measures its length in the specified units.
**Parameters**
- `line` **Feature<LineString>** line to measure
- `line` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[LineString](http://geojson.org/geojson-spec.html#linestring)>** line to measure
- `units` **\[[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)]** can be degrees, radians, miles, or kilometers (optional, default `kilometers`)

@@ -52,3 +52,3 @@

```sh
$ npm install turf-line-distance
$ npm install @turf/line-distance
```

@@ -59,3 +59,3 @@

```sh
$ npm install turf
$ npm install @turf/turf
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc