I realized from https://github.com/nodejs/abi-stable-node/pull/33#issuecomment-270559877 that we may want to have such an API because AFAIK all engines provide this functionality.