turf-invariant

WebJar for turf-invariant

Лицензия

Лицензия

ISC
Категории

Категории

Ant Компиляция и сборка
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

turf-invariant
Последняя версия

Последняя версия

3.0.12
Дата

Дата

Тип

Тип

jar
Описание

Описание

turf-invariant
WebJar for turf-invariant
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/turf-junkyard/turf-invariant

Скачать turf-invariant

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/turf-invariant/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>turf-invariant</artifactId>
    <version>3.0.12</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/turf-invariant/
implementation 'org.webjars.npm:turf-invariant:3.0.12'
// https://jarcasting.com/artifacts/org.webjars.npm/turf-invariant/
implementation ("org.webjars.npm:turf-invariant:3.0.12")
'org.webjars.npm:turf-invariant:jar:3.0.12'
<dependency org="org.webjars.npm" name="turf-invariant" rev="3.0.12">
  <artifact name="turf-invariant" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='turf-invariant', version='3.0.12')
)
libraryDependencies += "org.webjars.npm" % "turf-invariant" % "3.0.12"
[org.webjars.npm/turf-invariant "3.0.12"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

turf-invariant

build status

enforce expectations about inputs to turf

geojsonType(value, type, name)

Enforce expectations about types of GeoJSON objects for Turf.

Parameters

parameter type description
value GeoJSON any GeoJSON object
type string expected GeoJSON type
name String name of calling function

featureOf(feature, types, name)

Enforce expectations about types of Feature inputs for Turf. Internally this uses geojsonType to judge geometry types.

Parameters

parameter type description
feature Feature a feature with an expected geometry type
types string expected GeoJSON type
name String name of calling function

collectionOf(featurecollection, type, name)

Enforce expectations about types of FeatureCollection inputs for Turf. Internally this uses geojsonType to judge geometry types.

Parameters

parameter type description
featurecollection FeatureCollection a featurecollection for which features will be judged
type string expected GeoJSON type
name String name of calling function

Installation

Requires nodejs.

$ npm install turf-invariant

Tests

$ npm test
org.webjars.npm

deprecated turf modules: do not use or reference, for redirects only

turf is now a monorepo: all turf modules are in Turfjs/turf

Версии библиотеки

Версия
3.0.12