{"id":16836861,"url":"https://github.com/fil/sideeffects-test-d3-geo","last_synced_at":"2026-05-07T01:36:35.536Z","repository":{"id":66392315,"uuid":"211664164","full_name":"Fil/sideEffects-test-d3-geo","owner":"Fil","description":"try the sideEffects: true setting in d3-geo","archived":false,"fork":false,"pushed_at":"2019-09-30T07:39:40.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T10:28:29.217Z","etag":null,"topics":["d3","sideeffects","webpack"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fil.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-29T13:04:49.000Z","updated_at":"2019-09-30T07:39:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"8df9e7a1-c752-4bec-a885-da64065c0fc4","html_url":"https://github.com/Fil/sideEffects-test-d3-geo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fil%2FsideEffects-test-d3-geo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fil%2FsideEffects-test-d3-geo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fil%2FsideEffects-test-d3-geo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fil%2FsideEffects-test-d3-geo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fil","download_url":"https://codeload.github.com/Fil/sideEffects-test-d3-geo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244147343,"owners_count":20405942,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["d3","sideeffects","webpack"],"created_at":"2024-10-13T12:15:10.928Z","updated_at":"2026-05-07T01:36:30.515Z","avatar_url":"https://github.com/Fil.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"How much do we gain by having [sideEffects: true](https://github.com/d3/d3-geo-polygon/pull/32) in a simple d3-geo/d3-geo-polygon example?\n\nrun `npx webpack` with various settings:\n\n| compression | sideEffects | size (bytes) |\n| ----------- | ----------- |         ---: |\n| - | - | 404380 |\n| - | yes | 204113 |\n| yes | - | 41430 |\n| yes | yes | 38309 |\n\n\nThe following functions are kept:\n~~~\nd3-array/src/merge.js\nd3-array/src/range.js\nd3-geo-polygon/src/adder.js\nd3-geo-polygon/src/airocean.js\nd3-geo-polygon/src/cartesian.js\nd3-geo-polygon/src/clip/buffer.js\nd3-geo-polygon/src/clip/index.js\nd3-geo-polygon/src/clip/polygon.js\nd3-geo-polygon/src/clip/rejoin.js\nd3-geo-polygon/src/grayfuller.js\nd3-geo-polygon/src/intersect.js\nd3-geo-polygon/src/math.js\nd3-geo-polygon/src/noop.js\nd3-geo-polygon/src/pointEqual.js\nd3-geo-polygon/src/polygonContains.js\nd3-geo-polygon/src/polyhedral/index.js\nd3-geo-polygon/src/polyhedral/matrix.js\nd3-geo/src/adder.js\nd3-geo/src/area.js\nd3-geo/src/bounds.js\nd3-geo/src/cartesian.js\nd3-geo/src/centroid.js\nd3-geo/src/circle.js\nd3-geo/src/clip/antimeridian.js\nd3-geo/src/clip/buffer.js\nd3-geo/src/clip/circle.js\nd3-geo/src/clip/index.js\nd3-geo/src/clip/line.js\nd3-geo/src/clip/rectangle.js\nd3-geo/src/clip/rejoin.js\nd3-geo/src/compose.js\nd3-geo/src/constant.js\nd3-geo/src/contains.js\nd3-geo/src/distance.js\nd3-geo/src/identity.js\nd3-geo/src/interpolate.js\nd3-geo/src/length.js\nd3-geo/src/math.js\nd3-geo/src/noop.js\nd3-geo/src/path/area.js\nd3-geo/src/path/bounds.js\nd3-geo/src/path/centroid.js\nd3-geo/src/path/context.js\nd3-geo/src/path/index.js\nd3-geo/src/path/measure.js\nd3-geo/src/path/string.js\nd3-geo/src/pointEqual.js\nd3-geo/src/polygonContains.js\nd3-geo/src/projection/azimuthal.js\nd3-geo/src/projection/fit.js\nd3-geo/src/projection/gnomonic.js\nd3-geo/src/projection/index.js\nd3-geo/src/projection/resample.js\nd3-geo/src/rotation.js\nd3-geo/src/stream.js\nd3-geo/src/transform.js\n~~~\n\n\nThe following functions are removed:\n~~~\nd3-array/src/array.js\nd3-array/src/ascending.js\nd3-array/src/bisect.js\nd3-array/src/bisector.js\nd3-array/src/constant.js\nd3-array/src/cross.js\nd3-array/src/descending.js\nd3-array/src/deviation.js\nd3-array/src/extent.js\nd3-array/src/histogram.js\nd3-array/src/identity.js\nd3-array/src/index.js\nd3-array/src/max.js\nd3-array/src/mean.js\nd3-array/src/median.js\nd3-array/src/min.js\nd3-array/src/number.js\nd3-array/src/pairs.js\nd3-array/src/permute.js\nd3-array/src/quantile.js\nd3-array/src/scan.js\nd3-array/src/shuffle.js\nd3-array/src/sum.js\nd3-array/src/threshold/freedmanDiaconis.js\nd3-array/src/threshold/scott.js\nd3-array/src/threshold/sturges.js\nd3-array/src/ticks.js\nd3-array/src/transpose.js\nd3-array/src/variance.js\nd3-array/src/zip.js\nd3-geo-polygon/src/cahillKeyes.js\nd3-geo-polygon/src/collignon.js\nd3-geo-polygon/src/complex.js\nd3-geo-polygon/src/cox.js\nd3-geo-polygon/src/cubic.js\nd3-geo-polygon/src/icosahedral.js\nd3-geo-polygon/src/imago.js\nd3-geo-polygon/src/index.js\nd3-geo-polygon/src/lagrange.js\nd3-geo-polygon/src/newton.js\nd3-geo-polygon/src/polyhedral/butterfly.js\nd3-geo-polygon/src/polyhedral/collignon.js\nd3-geo-polygon/src/polyhedral/cube.js\nd3-geo-polygon/src/polyhedral/dodecahedral.js\nd3-geo-polygon/src/polyhedral/octahedron.js\nd3-geo-polygon/src/polyhedral/voronoi.js\nd3-geo-polygon/src/polyhedral/waterman.js\nd3-geo-polygon/src/tetrahedralLee.js\nd3-geo/src/clip/extent.js\nd3-geo/src/graticule.js\nd3-geo/src/index.js\nd3-geo/src/projection/albers.js\nd3-geo/src/projection/albersUsa.js\nd3-geo/src/projection/azimuthalEqualArea.js\nd3-geo/src/projection/azimuthalEquidistant.js\nd3-geo/src/projection/conic.js\nd3-geo/src/projection/conicConformal.js\nd3-geo/src/projection/conicEqualArea.js\nd3-geo/src/projection/conicEquidistant.js\nd3-geo/src/projection/cylindricalEqualArea.js\nd3-geo/src/projection/equalEarth.js\nd3-geo/src/projection/equirectangular.js\nd3-geo/src/projection/identity.js\nd3-geo/src/projection/mercator.js\nd3-geo/src/projection/naturalEarth1.js\nd3-geo/src/projection/orthographic.js\nd3-geo/src/projection/stereographic.js\nd3-geo/src/projection/transverseMercator.js\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffil%2Fsideeffects-test-d3-geo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffil%2Fsideeffects-test-d3-geo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffil%2Fsideeffects-test-d3-geo/lists"}