Although the dex8-sdk npm package is not obligatory it is highly recommended to install it to your local computer. It will make your development faster and code more readable. Also, some powerful libraries like FunctionFlow, Mongo, Rand, Echo etc. can be used.
Install it by using the command:
$ npm install -g dex8-sdk
How to use it - read here.