{"name":"@turf/boolean-valid","version":"7.4.0","description":"Checks if the geometry is a valid according to the OGC Simple Feature Specification.","author":{"name":"Turf Authors"},"contributors":[{"name":"Rowan Winsemius","email":"@rowanwins"},{"name":"Denis Carriere","email":"@DenisCarriere"},{"name":"Martin Künzi","email":"@ltkum"}],"license":"MIT","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"homepage":"https://github.com/Turfjs/turf","repository":{"type":"git","url":"git://github.com/Turfjs/turf.git"},"funding":"https://opencollective.com/turf","publishConfig":{"access":"public"},"keywords":["turf","valid","boolean","ogc"],"type":"module","main":"dist/cjs/index.cjs","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"sideEffects":false,"devDependencies":{"@types/benchmark":"^2.1.5","@types/tape":"^5.8.1","benchmark":"^2.1.4","boolean-jsts":"^0.0.1","boolean-shapely":"^0.1.2","load-json-file":"^7.0.1","tape":"^5.10.2","tsup":"^8.5.1","tsx":"^4.22.4","typescript":"^5.9.3"},"dependencies":{"@types/geojson":"^7946.0.10","geojson-polygon-self-intersections":"^1.2.1","tslib":"^2.8.1","@turf/bbox":"7.4.0","@turf/boolean-disjoint":"7.4.0","@turf/boolean-point-in-polygon":"7.4.0","@turf/boolean-overlap":"7.4.0","@turf/boolean-point-on-line":"7.4.0","@turf/boolean-crosses":"7.4.0","@turf/helpers":"7.4.0","@turf/line-intersect":"7.4.0","@turf/invariant":"7.4.0"},"scripts":{"bench":"tsx bench.ts","build":"tsup --config ../../tsup.config.ts","test":"pnpm run /test:.*/","test:tape":"tsx test.ts"},"_id":"@turf/boolean-valid@7.4.0","_integrity":"sha512-Gop9r5YA3Asz80bPDCs3PjO4YPY5fyE55wlQDqLBSr6ZxbOaJXIoKrMgaBb1RBcM+9BFYnBlnpekMG3C8Gscrg==","_resolved":"/tmp/7490a2f087685e4d5a4710b6e19161ad/turf-boolean-valid-7.4.0.tgz","_from":"file:turf-boolean-valid-7.4.0.tgz","_nodeVersion":"26.5.1","_npmVersion":"11.17.0","dist":{"integrity":"sha512-Gop9r5YA3Asz80bPDCs3PjO4YPY5fyE55wlQDqLBSr6ZxbOaJXIoKrMgaBb1RBcM+9BFYnBlnpekMG3C8Gscrg==","shasum":"9d8858cfde09e18e4479618e3bb45ebd3bf21ad1","tarball":"http://registry-npm.ywwl.com/@turf/boolean-valid/download/@turf/boolean-valid-7.4.0.tgz","fileCount":9,"unpackedSize":30440,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@turf%2fboolean-valid@7.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCrJ9RD4WpGAcDZPXrP1GdKfhOmBTNV5gb/8uVyNmwakQIhAPYQdSdCKtBgS7vmqFiWNIjJJDFfHXI5JlHAK9EPVpuP"}],"size":6394,"noattachment":false,"key":"/@turf/boolean-valid/-/@turf/boolean-valid-7.4.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e3f6ba92-9d50-43d6-bd4d-51c0a14181f5"}},"directories":{},"maintainers":[{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/boolean-valid_7.4.0_1785771203204_0.5899159767087818"},"_hasShrinkwrap":false,"readme":"# @turf/boolean-valid\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## booleanValid\n\nbooleanValid checks if the geometry is a valid according to the OGC Simple Feature Specification.\n\n### Parameters\n\n*   `feature` **([Geometry][1] | [Feature][2]\\<any>)** GeoJSON Feature or Geometry\n\n### Examples\n\n```javascript\nvar line = turf.lineString([[1, 1], [1, 2], [1, 3], [1, 4]]);\n\nturf.booleanValid(line); // => true\nturf.booleanValid({foo: \"bar\"}); // => false\n```\n\nReturns **[boolean][3]** true/false\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3.1\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3.2\n\n[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n\n<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run \"yarn docs\" from the root of the turf project. -->\n\n---\n\nThis module is part of the [Turfjs project](https://turfjs.org/), an open source module collection dedicated to geographic algorithms. It is maintained in the [Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create PRs and issues.\n\n### Installation\n\nInstall this single module individually:\n\n```sh\n$ npm install @turf/boolean-valid\n```\n\nOr install the all-encompassing @turf/turf module that includes all modules as functions:\n\n```sh\n$ npm install @turf/turf\n```\n","publish_time":1785771203418,"_cnpm_publish_time":1785771203418,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}