{"name":"@turf/clone","version":"6.2.0-alpha.3","keywords":["turf","clone"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/clone@6.2.0-alpha.3","contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"3acfb99d86631d9d86d95ebaa964f3bae98dadfa","tarball":"http://registry-npm.ywwl.com/@turf/clone/download/@turf/clone-6.2.0-alpha.3.tgz","fileCount":7,"integrity":"sha512-55+34w/vnn0doAgXDZor11P2HAEzFBIYxm2W+YQ7PoQHyI+J+GmuLvtekt36ivzG+TObx7EvfMOlk4hukz5snA==","signatures":[{"sig":"MEQCIEKcIwi+jYtnJIAbY40/wEezv5qdSvwmN9NJkLcJpusMAiAqvCs2JRu9RPOUKveNduZ/YrLbwXFakaIpAsduNxfWEQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0o1KCRA9TVsSAnZWagAAk4gP/2a5W5+bLxIcUWumcCrk\n6iWV0N+veXG/U3bdUuXdU6iiUC7A+CJaCd/qX+8Wp4F5MnLrSVz0H67FrDNF\n2NRPPWKK/MZPzczm2qfqeoNjGSWK6Dns8KDKqc2KNgtx6JqLIylJ5Z1l+hxh\n0uWbAvW/eQ+WSOOLOprCej+/LsibgwA4aOEl47CHYVNql9pNktnHSn0uC8QY\nWpQc30HyHf1nEoCEdVCPg+IPQ6MvOyDe+xigiCYUnL8V/78+qV5+pLaEkpnr\n/NI5r3m7aycaBNVrgOM5xg7Y2nD7xf683L7rOz936tYhtYxgGCSLBslvTNee\nHIYDTKs34uHRi1NkHhdWAyB35EEqMkLk5vF+FItjL4UMVTri5S3DYCPuGRyV\nNwYEFVJENANdvbmHPETkG63YaK/i0TbAKhf2mt5DdgJxvJMd2QpLEEYAja+8\nj2aOWKVskSr2K6/OKXxA+Nvlep2t3qZoNnXYwg2CPnhdOVVQEQ6NhKF1hbTJ\nl49gCWNFuJq5XtBbApltdWKhhl177awPcrwQUgtrPcJe6cCskT1CmB94Rdxw\nBVp6RFxkmDAa/2TGstmTkS5OAqmC9++/s9VMHJFyOogAS2J0T9UP+dRi7ucc\ntbQ8QrvGYzpeszsMxi+NM+a3ya+Rh6O7NulvR0ga7FWvyVgdZfGMDHf9nZMt\nKkQT\r\n=118Q\r\n-----END PGP SIGNATURE-----\r\n","size":3268,"noattachment":false,"key":"/@turf/clone/-/@turf/clone-6.2.0-alpha.3.tgz"},"main":"dist/js/index.js","types":"dist/js/index.d.ts","module":"dist/es/index.js","exports":{"import":"./dist/es/index.js","require":"./dist/js/index.js"},"gitHead":"dce9edfc705352e8cb9e0083c9330ba0e8d77409","scripts":{"docs":"node ../../scripts/generate-readmes","test":"npm-run-all test:*","bench":"ts-node bench.js","build":"npm-run-all build:*","build:es":"tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json","build:js":"tsc","test:tape":"ts-node -r esm test.js","test:types":"tsc --esModuleInterop --noEmit types.ts"},"_npmUser":{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v13.10.1+x64 (darwin)","description":"turf clone module","directories":{},"sideEffects":false,"_nodeVersion":"13.10.1","dependencies":{"@turf/helpers":"^6.2.0-alpha.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tape":"*","tslint":"*","ts-node":"*","benchmark":"*","@turf/meta":"^6.2.0-alpha.3","typescript":"*","@types/tape":"*","npm-run-all":"*"},"_npmOperationalInternal":{"tmp":"tmp/clone_6.2.0-alpha.3_1607634250273_0.9005783298921752","host":"s3://npm-registry-packages"},"readme":"# @turf/clone\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## clone\n\nReturns a cloned copy of the passed GeoJSON Object, including possible 'Foreign Members'.\n\\~3-5x faster than the common JSON.parse + JSON.stringify combo method.\n\n### Parameters\n\n*   `geojson` **[GeoJSON][1]** GeoJSON Object\n\n### Examples\n\n```javascript\nvar line = turf.lineString([[-74, 40], [-78, 42], [-82, 35]], {color: 'red'});\n\nvar lineCloned = turf.clone(line);\n```\n\nReturns **[GeoJSON][1]** cloned GeoJSON Object\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3\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/clone\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":1607634250386,"maintainers":[{"name":"smallsaucepan","email":"james@smallsaucepan.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"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"}],"_cnpm_publish_time":1607634250386,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}