ehn-dcc-development / hcert-kotlin

Kotlin multiplatform implementation of the HCERT/DCC specification
Apache License 2.0
25 stars 25 forks source link

Experimental NodeJS Support #69

Closed JesusMcCloud closed 3 years ago

JesusMcCloud commented 3 years ago

This PR introduces experimental NodeJS support.

The build output is still a UMD module, but without all the browserified dependencies, and targeting NodeJS. Publishing to npm is not a priority, but at least it allows for incorporating this library in node-based applications. Creating a "nice" node (or ES6) module (without using a bundler) is still out of reach :(

This addresses #49 as far as currently possible…

JesusMcCloud commented 3 years ago

@delixfe what's your take on this?

nodh commented 3 years ago

lgtm :+1: