{"name":"@turf/clone","version":"6.5.0","keywords":["turf","clone"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/clone@6.5.0","contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"895860573881ae10a02dfff95f274388b1cda51a","tarball":"http://registry-npm.ywwl.com/@turf/clone/download/@turf/clone-6.5.0.tgz","fileCount":7,"integrity":"sha512-mzVtTFj/QycXOn6ig+annKrM6ZlimreKYz6f/GSERytOpgzodbQyOgkfwru100O1KQhhjSudKK4DsQ0oyi9cTw==","signatures":[{"sig":"MEUCIQD+qZ45kTuQw4yQSYJBDa66NXsoSurRXi5avn/Js+LlKQIgNtJp9h335i48pTugsZ2fzBSoXdI5IHpaG77ZQl/AITU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12967,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2fIMCRA9TVsSAnZWagAAKe4P/jrHNnrfglDoLHuL3R+d\nDjQRlcdr1R0uvMabzekrmWDop8N2DNrKmSX2XWSOr1Xq+JNHRtH1aVB7Bb9L\nsBW95WQe27Hyc5dUHL8dSGW61NNF+VFAo16MQHJbUcs+jsQ/K69outZUvwyW\nHlO7cs/THv/t8oXv3eppLIavNW9JMT99WweMK48YZ2VrBcdBDuub0uuEkzu0\nRLjT3E/6BjOLb/356+hrIx4BPQMQn+8XvjpFQQHxjL4OaKhXTknVEIYnwme8\nNPKI7jX5WkzNAYT2Bl3PWlhFgTd2WYocZv8hlupRaP5vHFtxsJaNVKkwH/mp\nU9Yc5H3+k2pe9I1qmstJIfDT+LzhsfNEQIDMVGEGK6In11qBptkla3WYDupb\nOjIkwqNIB9wpdBeBsS6fS0Z1Cxqwl/LG6txw8Ej3bY/8P0YDK60eFIuAyMrV\nZPJi3MDAJ0LByuc+n9u+aRTeOYCt9OUy0UAEWRsj2MetX2nkgiiNrDakGoS6\nefZZ8tyg2uM1z+5dYjrJOdaQur3jqufsYC9VW7jKFfqe/5ph4gScEKvTunO/\nyUSq/KqkIGBuXZWjy1lCfcHpbVrDzWSctOLSqoptUneY4L4VPrmK+PvN8G+q\nBUhcB3q/bR1vNlQEFTxQafruEjVrjjnZnCALPbEReL3/sA+64AQ97PsBWl+3\nor9s\r\n=IWjE\r\n-----END PGP SIGNATURE-----\r\n","size":3306,"noattachment":false,"key":"/@turf/clone/-/@turf/clone-6.5.0.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"},"./package.json":"./package.json"},"funding":"https://opencollective.com/turf","gitHead":"5375941072b90d489389db22b43bfe809d5e451e","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":"rowanwins","email":"rowanwins@yahoo.com.au"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.8.0+x64 (darwin)","description":"turf clone module","directories":{},"sideEffects":false,"_nodeVersion":"14.8.0","dependencies":{"@turf/helpers":"^6.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tape":"*","tslint":"*","ts-node":"*","benchmark":"*","@turf/meta":"^6.5.0","typescript":"*","@types/tape":"*","npm-run-all":"*"},"_npmOperationalInternal":{"tmp":"tmp/clone_6.5.0_1625912242218_0.6474675555167446","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":1625912242431,"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":1625912242431,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}