What is advantage of using nodejs sdk over REST API?

is there any advantage of using nodejs sdk over REST API ?