kimchord-fastforward

1.7.0 • Public • Published

🚧 Currently under construction 🚧

Kimchord Fast Forward is a simple npm package that allows you to manipulate audio and video files by skipping a specified number of seconds. It's a wrapper for ffmpeg-static with a simpler interface.

Example Usage

async function fast() {
  const ff = new fastForward();

  ff.setFileName("example.mp3"); // File name with extension
  ff.setSkipTo(50); // Set the number of seconds to skip

  const tempPath = path.join(__dirname, "./temp"); // Path example
  ff.setInputFolder(tempPath); // Absolute path
  ff.setOutputFolder(tempPath); // Absolute path

  ff.setDefaultConfig(); // ff.addConfig(option: <array>|<string>)
  
  const res = await ff.run(); // Run the Fast Forward process
  console.log(res);
}

Readme

Keywords

none

Package Sidebar

Install

npm i kimchord-fastforward

Weekly Downloads

3

Version

1.7.0

License

MIT

Unpacked Size

8.8 kB

Total Files

10

Last publish

Collaborators

  • rainymy