standalone snippets for nodejs