If you want to use js sdk in cloud code you dont have to do anything. JS sdk is already included for the cloud code and node environment. But ıf you want to use it on other servers, you can use parse/node.
Just install parse with npm i parse and import parse/node on your js file like this:
const Parse = require('parse/node');
See this: JavaScript Developers Guide | Parse