This repo has a "Hello World" Node.js application that uses the sequelize driver to talk to a temporary local CockroachDB cluster.
For instructions on running the sample code, see Build a Simple CRUD Node.js App with CockroachDB and the node-postgres Driver.