I am currently cloning three.js editor code and three.js package on npm don’t have the editor related code.
You can download a .ZIP of all files from GitHub. Cloning the repository is also fine but will take longer. The editor is not published as a library on npm.
I have cloned the code and changes the required folder which are needed to render pcd file.