{"name":"terraformer","version":"1.0.12","description":"A Geo-toolkit built in Javascript.","main":"terraformer.js","typings":"terraformer.d.ts","devDependencies":{"gh-release":"^3.5.0","grunt":"^1.0.4","grunt-cli":"^1.3.2","grunt-complexity":"^1.1.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-jasmine":"^2.0.3","grunt-contrib-jshint":"^2.1.0","grunt-contrib-uglify":"~4.0.1","grunt-gh-pages":"~3.1.0","grunt-middleman":"~0.2.0","grunt-template-jasmine-istanbul":"~0.2.4","jasmine":"^2.8.0","tslint":"^4.5.1","typescript":"^2.2.1"},"scripts":{"pretest":"grunt lint","test":"npm run test:node && grunt test","test:node":"jasmine --config=jasmine.json","test:ts":"tslint test.ts index.d.ts && tsc -p tsconfig.json && node test.js","release":"./release.sh"},"repository":{"type":"git","url":"git://github.com/esri/terraformer.git"},"author":{"name":"Patrick Arlt","email":"parlt@esri.com","url":"http://patrickarlt.com"},"contributors":[{"name":"Patrick Arlt","email":"parlt@esri.com","url":"http://patrickarlt.com"},{"name":"Jerry Sievert","email":"jsievert@esri.com","url":"http://legitimatesounding.com"}],"license":"MIT","optionalDependencies":{"@types/geojson":"^7946.0.0 || ^1.0.0"},"engines":{"node":">=4.2.6"},"gitHead":"7f057c6a0d2057c6beb42190316c587f5fe69617","bugs":{"url":"https://github.com/esri/terraformer/issues"},"homepage":"https://github.com/esri/terraformer#readme","dependencies":{"@types/geojson":"^7946.0.0 || ^1.0.0"},"_id":"terraformer@1.0.12","_nodeVersion":"10.16.0","_npmVersion":"6.14.2","dist":{"integrity":"sha512-MokUp0+MFal4CmJDVL6VAO1bKegeXcBM2RnPVfqcFIp2IIv8EbPAjG0j/vEy/vuKB8NVMMSF2vfpVS/QLe4DBg==","shasum":"39e08f9c753606421acce02e122440c72dfa12d3","tarball":"http://registry-npm.ywwl.com/terraformer/download/terraformer-1.0.12.tgz","fileCount":6,"unpackedSize":62296,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejKupCRA9TVsSAnZWagAAVXQQAJKhd8M7Bt689fnOvoWU\naY8mUvNu807UJs9vHIrTquIBA2CKwzF5lJX+mpHR/jMybGtQbwnjEDlxid3l\nkpoiVUFAL6+XJOOCSC0YM6AA954kMEXhFbMLAsCXr2nXgY8MpRJ3Ay+gkpxN\nkfodq9Ki8pt36L8kTQgBEi8XojcWRmg+3nQsPMwAOR223ZJFfrIus/l3hDvm\nQd0/5NqUCYesPt8R8GHtqrDrRWSfXRQfeh2Y7sFP/ywZ1E9Bt85m1NxFLfXR\ncMPEFHA/UOkUu/LWDJKyh8uxonOTfkqHQ4z4zyNHwzmCnXExW1tf2G2Q5EyY\nxFQKkIa9eIeRkNv6YzyEXWBxe1RrPxqy5DPYsht8KdTxt5A0CM1d0fSTJcHw\nh3uINTwMKk+4S7eeeAHlDc+i7qktq9O1J9cKPW4/eEqz34B8V5jJjkhRmUuW\ngM7Ah8UhSFyFrzGOu6Yj2IVKCGiQry3YKkyIKqX3qcNskstK/Y0ZusC1rGGX\nUGGjfxVbPZxaejxUL7A6PakcczzWiJ7wuBLjY5oSL11VNC4PY0y9OHGlq2c7\nb50h+Y8JKbVhZNz/5DWdQKpEknb1bnR/l9EDJBtY1hknXY7HTYtwPlLSZEXy\nP+5aogxt9lPbSntXrFm+iT1rGe7Iq9qn6QZR+tWURd8De/qDdOTI1suN4tMH\nw5Fb\r\n=ZK8E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHWcHnXVlIj4bp3JZ3u7pUkBXlsRjttNNMu445yf2LaAIhANojXgcPCk4Pw4TLPaaPSmt04orByxG9rHqIQYdicmXS"}],"size":13958,"noattachment":false,"key":"/terraformer/-/terraformer-1.0.12.tgz"},"maintainers":[{"name":"esri_dev","email":"dev_tools@esri.com"}],"_npmUser":{"name":"jgravois","email":"jagravois@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/terraformer_1.0.12_1586277288784_0.36554625726712886"},"_hasShrinkwrap":false,"deprecated":"terraformer is deprecated and no longer supported. Please use @terraformer/arcgis.","readme":"# Terraformer\n\n[![Build Status](https://travis-ci.org/Esri/terraformer.svg?branch=master)](https://travis-ci.org/Esri/terraformer)\n\n> A modular toolkit for working with geographic data.\n\n## Modules\n\nThe Terraformer project is broken up into a series of smaller modules.\n\n* [Terraformer Core](http://terraformer.io/core/) - Contains methods and objects for working with GeoJSON. This also contains common methods used by other modules.\n* [WKT Parser](http://terraformer.io/wkt-parser/) - Parse Well Known Text into GeoJSON and vice versa.\n* [ArcGIS Geometry Parser](http://terraformer.io/arcgis-parser/) - Parse the [ArcGIS Geometry Format](http://resources.arcgis.com/en/help/arcgis-rest-api/#/Geometry_Objects/02r3000000n1000000/) into GeoJSON and vice versa.\n* [GeoStore](http://terraformer.io/geostore/) - A framework for persisting and querying GeoJSON features with pluggable indexes and persistent stores.\n\n## Features\n\n* Designed to work in Node and the browser\n* No dependencies on other tools or libraries\n\n## Getting Started\n\nCheck out the getting [started guide](http://terraformer.io/getting-started/) which will give you an overview of core concepts and methods in Terraformer.\n\n### Node.js\n\nInstall the core module with npm and then require it in your Node program.\n\n```\n$ npm install terraformer\n```\n\n```js\nvar Terraformer = require('terraformer');\n```\n\nIf needed, supporting packages can be added too.\n\n```js\nrequire('terraformer-arcgis-parser');\nrequire('terraformer-wkt-parser');\nrequire('terraformer-geostore');\n```\n\n### Browser\n\nTo see Terraformer in action in the browser, check out our [live demos](http://terraformer.io/examples/browser/index.html). To use it in the browser yourself, reference it using a `<script>` tag.\n\n```html\n<script src=\"https://unpkg.com/terraformer@1.0.8\"></script>\n```\n\nTo utilize supporting packages, you must load their source as well.\n\n```html\n<script src=\"https://unpkg.com/terraformer-arcgis-parser@1.0.5\"></script>\n<script src=\"https://unpkg.com/terraformer-wkt-parser@1.1.2\"></script>\n```\n\n## Documentation\n\nMake sure you check out the full documentation on the [Terraformer website](http://terraformer.io/core/) and the [getting started guide](http://terraformer.io/getting-started/).\n\n```js\nvar polygon = new Terraformer.Primitive({\n  \"type\": \"Polygon\",\n  \"coordinates\": [\n    [\n      [-122.665894, 45.5229015],\n      [-122.669263, 45.5229165],\n      [-122.671151, 45.5184062],\n      [-122.673254, 45.5140008],\n      [-122.668426, 45.5127378],\n      [-122.667654, 45.5169478],\n      [-122.665894, 45.5229015]\n    ]\n  ]\n});\n\nvar point = new Terraformer.Primitive({\n  \"type\": \"Point\",\n  \"coordinates\": [-122.669477, 45.517760]\n});\n```\n\nNow that you have a point and a polygon primitive you can use the primitive helper methods.\n\n```js\n// add a new vertex to our polygon\npolygon.insertVertex([-122.670851, 45.513189], 2);\n\n// figure out if our point is within our polygon\npoint.within(polygon); // returns true\n```\n\nYou can also have Terraformer perform many geometric operations like convex hulls and bounding boxes.\n\n```js\nvar convexHull = polygon.convexHull();\n\npoint.within(convexHull); // returns true\n\nvar boundingBox = polygon.bbox(); // returns the geojson bounding box for this object.\n```\n\n## Resources\n\n* [Documentation Site](http://terraformer.io)\n* [@EsriPDX](http://twitter.com/esripdx)\n\n## Building the documentation\n\nTo build the site locally, first `bundle install` then `bundle exec middleman` to run a local server. Maintainers can run `bundle exec middleman build`, then `grunt gh-pages` to deploy to github pages.\n\n## Issues\n\nFind a bug or want to request a new feature?  Please let us know by submitting an issue.\n\n## Contributing\n\nEsri welcomes contributions from anyone and everyone. Please see our [guidelines for contributing](https://github.com/esri/contributing).\n\n## Licensing\n\nA copy of the license is available in the repository's [LICENSE](./LICENSE) file.\n","publish_time":1586277288884,"_cnpm_publish_time":1586277288884,"dist-tags":{"latest":"1.0.12"}}