Closed flippmoke closed 7 years ago
@flippmoke @springmeyer Can you elaborate on the rationale here? Why not use mason?
@jfirebaugh thanks for asking. The usecase here is for writing node c++ addons and easily integrating c++ header-only libs without adding extra complexity that is unusual to node.js devs or extra dependencies (like mason). By duel publishing in npm it makes it possible to include something like geometry.hpp
in the dependencies
section of the package.json
and the include_dirs
section of binding.gyp
in the same, consistent way that https://github.com/nodejs/nan does it. More details at https://github.com/mapbox/cpp/issues/20
@flippmoke let's abandon adding a package.json here per https://github.com/mapbox/cpp/issues/20#issuecomment-272044708 (However a contributing is still well worth it).
As per conversion with @springmeyer adding npm packaging for geometry hpp for use in node cpp applications.