Skip to content

How do we want to handle external packages that TurfJs depends on like polygon-clipping and d3_geo? #165

Answered by lukas-h
aardrop asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @aardrop, thanks for asking and thanks for the willingness to contribute. We already had this case for a few things.

https://pub.dev/packages/turf you can look at the dependencies here.

A few soft "rules" for the usage / implementation of these things:

  • If there is a really good dart package (that is sure to be maintained the next years and) that contains the functionality we need, we should use this.
  • If not:
    • If the functionality makes sense to be exposed it should be a separate small package. It would be good to have these in our organization: https://github.com/dartclub
    • If not: we implement the function internally and don't expose it (either private with an _ underscore or just not …

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by aardrop
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@aardrop
Comment options

@aardrop
Comment options

@lukas-h
Comment options

@aardrop
Comment options

@lukas-h
Comment options

Comment options

You must be logged in to vote
2 replies
@lukas-h
Comment options

@lukas-h
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants