schema icon indicating copy to clipboard operation
schema copied to clipboard

Publish on npm

Open apiel opened this issue 2 years ago • 1 comments

Would it be possible to publish this package on NPM? And even better to have typescript support to it :-)

apiel avatar Mar 07 '22 09:03 apiel

Publishing on npm will be very helpful!

haoliangyu avatar Mar 29 '22 18:03 haoliangyu

We would really need this on npm too. Currently we are thinking of different ways of adding JSON Schema validation to our data model :

  • downloading at build time the JSON Schema from this repo
  • converting turf TS types into JSON Schema (with a script)
  • using other user's repo that are exposing the JSON Schema

But none is optimal. A simple official npm package would be really nice to avoid having the schemas scattered across the community 🙏 (cc @tschaub)

romain-tracktik avatar Mar 11 '24 18:03 romain-tracktik

@apiel @haoliangyu @romain-tracktik - I've published https://www.npmjs.com/package/geojson-schema with the JSON schema files at the root of the package. Let me know if anything else would be useful in the package.

tschaub avatar Mar 17 '24 17:03 tschaub

Awesome, thank you for the fast action @tschaub 🙏

romain-tracktik avatar Mar 18 '24 13:03 romain-tracktik