(this is the suite of nodejs/node-gyp#2903)
node-addon-api seems to include an undocumented but very useful file found node_modules\node-addon-api\except.gypi.
Alas, besides being undocumented, this file is very hard to use, since when a module is installed in production, its path will be different and gyp does not support variable expansion in includes directives.