turf-jsts

WebJar for turf-jsts

Лицензия

Лицензия

Группа

Группа

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

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

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

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

1.2.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

https://github.com/DenisCarriere/turf-jsts

Скачать turf-jsts

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

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

Зависимости

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

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

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

JSTS used in TurfJS

Build Status

This version of JSTS is refactored to ES6 for the sole purpose of importing it to TurfJS.

More information about the original library: https://github.com/bjornharrtell/jsts

This library is not intended to be used outside of TurfJS

Current issue with JSTS

JSTS has big problems when making it ES Module & CJS compatible.

The other major issue I found was the extend() method that JSTS uses copies the entire section of that source code. For example if we have 4 Turf modules that use JSTS, that means we will have 4x GeoJSONReader source code in the final Rollup bundle.

Solution

Refactoring JSTS to proper ES6 Classes which will allow Rollup and other bundling libraries to properly conduct Tree Shaking.

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

Версия
1.2.3