downloads
Across all versions, last 30 days.
9weekly-64.0%
70 in 30 days
Oct 16 → Nov 14hover or arrows
compatibility
Runtime metadata.
nodeany
cjstypes
keywords
Tagged topics.
videoapiwasm
Across all versions, last 30 days.
70 in 30 days
Runtime metadata.
Tagged topics.
Estimated unpacked size across 50 packages.
32.4 MB
Includes dependencies.
7 direct · 2 outdated
^0.9.4
0.9.4
^0.21.1
1.21.1
^4.0.0
4.0.6
^7.8.0
9.1.0
0.0.2
0.0.2
^2.41.0
2.85.0
0.0.10-b
0.0.10-b
This is the core package for the modfy api library
Full documenation docs.modfy.video
Currently invite only, reach out to hello@modfy.video
yarn add @modfy/core
# Using Npm
npm install @modfy/coreYou can get your tokens at https://api.modfy.video/dashboard
import Modfy from '@modfy/core'
const modfy = new Modfy({
token: '',
secretToken: 'sk*test*',
clientSide: false
// Optional value if you plan to use client side rendering. (Defaults to false)
})const processedFile = modfy.operations(inputFiles, type, ...args)const compressedFiles = modfy.compress(
['./input.mp4'],
/* Files
- Three types of files are accepted
- 1. HTML File Object, you can pass in an File Object directly in your browser
- 2. Object containing {name : string, buffer : Buffer, mineType? : string}
- 3. String of File Path (Only supported in Node)
*/
'client', // Type of processing, can choose from client or server
10 // Compression value
)
// Function returns a Promise<Uint8Array>modfy-eng
eng@modfy.video