Socket
Socket
Sign inDemoInstall

turf-point

Package Overview
Dependencies
Maintainers
8
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turf-point - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

12

index.js

@@ -0,1 +1,13 @@

/**
* Generates a new GeoJSON Point feature, given coordinates
* and, optionally, properties.
*
* @module turf/point
* @param {number} longitude - position west to east in decimal degrees
* @param {number} latitude - position south to north in decimal degrees
* @param {Object} properties
* @return {GeoJSONPoint} output
* @example
* var pt1 = turf.point(-75.343, 39.984)
*/
module.exports = function(x, y, properties){

@@ -2,0 +14,0 @@ if(x instanceof Array) {

2

package.json
{
"name": "turf-point",
"version": "1.2.0",
"version": "1.2.1",
"description": "turf point module",

@@ -5,0 +5,0 @@ "main": "index.js",

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