adding node API to documentation