library writing documentation: Update references of @node to node

Since @node is deprecated, code samples should be updated to use node instead.