npm install --save playcanvas-nodeimport PlayCanvas from "playcanvas-node";
const options = {
  accessToken: "xxxxxxxxxxxxxxxx",
  scenes: [xxxxxxx],
  projectId: xxxxx,
  branchId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
  projectName: "xxxxxx"
};
const playcanvas = new PlayCanvas(options);
(async () => {
  const res = await playcanvas.listAssets();
  console.log(res)
})();
  const options = {
    name: "index.html",
    path: "./dist/index.html"
  };
  await playcanvas.createNewAsset(options);Upload
This is the supported type.
					.js,.css,.txt,.json,.html
				https://developer.playcanvas.com/en/user-manual/api/asset-create/
  const playcanvas = new PlayCanvas(options);
  const remotePath = process.env.NODE_ENV === 'development' ? "dev" : "build"
  await playcanvas.updateAssets(dev,"index.html","./dist/index.html");Generated using TypeDoc