N-API provides an API for executing a string containing JavaScript using the underlying JavaScript engine.