Testcafe is a node.js tool to automate end-to-end web testing
Create the Page Objects of your Web application under pageobjects package, call those Page Objects in tests under tests package (Sample Page Objects, testcase included in this template)
To install the dependencies issue the below commands in project root directory
npm install
To run the tests issue the below command
npm test chrome tests
For complete list of browsers supported by Testcafe refer this link
You can specify locally installed browsers using browser aliases or paths (with the path: prefix)
npm test 'path:`C:\Program Files (x86)\Firefox Portable\firefox.exe`' tests
Other templates you might be interested in Non Selenium Javascript Templates, Selenium Javascript Templates
Feel free to modify it to your own needs :)