
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
frames-to-rational
Advanced tools
Turn a frame count into a rational numer (for use with FCPX) - Learn more about FCPXml on it's documentaion.
Instead of frames or timecode, FCPX will expect 1 frame of 25fps video - for example - to look like this:
100/2500s
This module will take in a frame count and frame rate, then spit out the rational number.
Allows conversion to any of the following frame rates.
npm install frames-to-rational
const framesToRational = require("frames-to-rational");
// Convert 1 frame at 25fps to a rational number
framesToRational.convert(1, "25");
// -> 100/2500s
// Convert 156200 frames at 29.97fps to a rational number
framesToRational.convert(156200, "29.97");
// -> 156200001/30000s
// Convert 7200 frames at 30fps to a rational number
framesToRational.convert(7200, "30");
// -> 720000/3000s
When importing a FCPXml file to Final Cut Pro X, the application will refractor all the numbers above to the shortest version possible.
FAQs
Convert frames to a rational number for use with FCPX
We found that frames-to-rational demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.