mapbox / earcut

The fastest and smallest JavaScript polygon triangulation library for your WebGL apps
ISC License
2.21k stars 207 forks source link

Provide appropriate full examples #167

Closed eslachance closed 4 months ago

eslachance commented 8 months ago

2.1k stars, 16 contributors on this project and not a single one of you has ever had the time to write an example showing how to use/import in a node project, or how to properly import the library in a module script.

Don't assume that people inherently know how to use libraries where you only have npm install or links to the CDN - a lot of beginners want to use your stuff and do not have this pre-requisite information. It doesn't take much to write proper examples in a readme. Please do that!

mourner commented 8 months ago

I get your criticism, but I don't understand why you have to be so condescending in an issue report. Please be kind. This is free and open source. Maintainers are people with feelings too.

Zxilly commented 8 months ago

You should look for a tutorial and then learn some of the basics, rather than expecting to see a start-from-scratch guide for every dependency library you use.