Question: What is the purpose of N-API?

  1. to allow users to make requests to the server
  2. to insulate Addons from changes in the underlying JavaScript engine
  3. to execute multi-threaded code in the Node environment
  4. to provide a quick way for users to create REST APIs

Answer: The correct answer of the above question is Option B:to insulate Addons from changes in the underlying JavaScript engine