# turf-point

> turf point module

Latest version **2.0.1** (published 2015-02-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install turf-point
pnpm add turf-point
yarn add turf-point
bun add turf-point
```

Provides the command `turf-point`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2015-02-06 |
| First published | 2014-04-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | morganherlocker |
| Maintainers | morganherlocker, mourner, jvrousseau, jseppi, cspanring, cwmma, lyzidiamond, tmcw |
| Keywords | geo, point, turf, geojson |

## Links

- npm: https://www.npmjs.com/package/turf-point
- Repository: https://github.com/Turfjs/turf-point
- Issues: https://github.com/Turfjs/turf-point/issues
- npm.io page: https://npm.io/package/turf-point

## Dependencies (1)

- [minimist](https://npm.io/package/minimist.md) ^1.1.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 2.0.1 (latest) — 2015-02-06
- 2.0.0 — 2015-01-21
- 1.2.1 — 2015-01-06
- 1.2.0 — 2014-12-10
- 1.1.1 — 2014-12-10
- 1.1.0 — 2014-12-10
- 1.0.0 — 2014-12-10
- 0.1.6 — 2014-08-04
- 0.1.5 — 2014-08-04
- 0.1.4 — 2014-08-04
- 0.1.3 — 2014-08-04
- 0.1.2 — 2014-08-04
- 0.1.1 — 2014-06-02
- 0.1.0 — 2014-04-01

## README

# turf-point

[![build status](https://secure.travis-ci.org/Turfjs/turf-point.png)](http://travis-ci.org/Turfjs/turf-point)

turf point module


### `turf.point(longitude, latitude, properties)`

Generates a new Point feature, given coordinates
and, optionally, properties.


### Parameters

| parameter    | type   | description                                                   |
| ------------ | ------ | ------------------------------------------------------------- |
| `longitude`  | number | - position west to east in decimal degrees                    |
| `latitude`   | number | - position south to north in decimal degrees                  |
| `properties` | Object | - an optional object that is used as the Feature's properties |


### Example

```js
var pt1 = turf.point([-75.343, 39.984]);
//=pt1
```

## Installation

Requires [nodejs](http://nodejs.org/).

```sh
$ npm install turf-point
```

## Tests

```sh
$ npm test
```

---
_Source: https://npm.io/package/turf-point · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
