packages/docs/docs/version.mdx
You may import this constant to get the current version of Remotion.
Only the version of the remotion package will be reported.
A version conflict with other Remotion packages cannot be ruled out.
import { VERSION } from "remotion";
console.log(VERSION); // "4.0.57";
You can also import it from remotion/version to avoid importing Remotion and its dependencies (i.e, react and react-dom):
import { VERSION } from "remotion/version";
console.log(VERSION); // "4.0.57";