Socket
Socket
Sign inDemoInstall

@turf/line-slice-along

Package Overview
Dependencies
Maintainers
9
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/line-slice-along - npm Package Compare versions

Comparing version 7.1.0-alpha.7 to 7.1.0-alpha.70

17

package.json
{
"name": "@turf/line-slice-along",
"version": "7.1.0-alpha.7+0ce6ecca0",
"version": "7.1.0-alpha.70+948cdafaf",
"description": "turf line-slice-along module",

@@ -53,4 +53,4 @@ "author": "Turf Authors",

"devDependencies": {
"@turf/along": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/length": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/along": "^7.1.0-alpha.70+948cdafaf",
"@turf/length": "^7.1.0-alpha.70+948cdafaf",
"@types/benchmark": "^2.1.5",

@@ -66,8 +66,9 @@ "@types/tape": "^4.2.32",

"dependencies": {
"@turf/bearing": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/destination": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/distance": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/helpers": "^7.1.0-alpha.7+0ce6ecca0"
"@turf/bearing": "^7.1.0-alpha.70+948cdafaf",
"@turf/destination": "^7.1.0-alpha.70+948cdafaf",
"@turf/distance": "^7.1.0-alpha.70+948cdafaf",
"@turf/helpers": "^7.1.0-alpha.70+948cdafaf",
"@types/geojson": "^7946.0.10"
},
"gitHead": "0ce6ecca05829690270fec6d6bed2003495fe0ea"
"gitHead": "948cdafaf70606d2e27fcc79973fa48ee1182067"
}

@@ -15,8 +15,8 @@ # @turf/line-slice-along

* `line` **([Feature][3]<[LineString][4]> | [LineString][4])** input line
* `startDist` **[number][5]** distance along the line to starting point
* `stopDist` **[number][5]** distance along the line to ending point
* `options` **[Object][6]** Optional parameters (optional, default `{}`)
* `line` **([Feature][3]<[LineString][1]> | [LineString][1])** input line
* `startDist` **[number][4]** distance along the line to starting point
* `stopDist` **[number][4]** distance along the line to ending point
* `options` **[Object][5]** Optional parameters (optional, default `{}`)
* `options.units` **[string][7]** can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`)
* `options.units` **[string][6]** can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`)

@@ -35,3 +35,3 @@ ### Examples

Returns **[Feature][3]<[LineString][4]>** sliced line
Returns **[Feature][3]<[LineString][1]>** sliced line

@@ -44,10 +44,8 @@ [1]: https://tools.ietf.org/html/rfc7946#section-3.1.4

[4]: https://tools.ietf.org/html/rfc7946#section-3.1.4
[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run "yarn docs" from the root of the turf project. -->

@@ -54,0 +52,0 @@

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