React with Native

Bringing together React and React Native

GitHub

README

Ffmpeg util

ffmpeg-util (

OperationClassification

TODO: Ensure embedding this will embed the actual docs in my markdown renderer. I guess it might already do so!

TODO: It would be great to learn more about this topic and see if I can make more cross-environment packages. A great use case would be to create a wrapper around the current fs-orm to enable using it at the frontend too.

OperationClassification node-cjs)

Api reference
convertToMp3()

Uses ffmpeg to convert a file to mp3

Returns the new file path on success

Input
sourcePathstring
Output
📄 convertToMp3 (exported const)

Uses ffmpeg to convert a file to mp3

Returns the new file path on success

convertToMp4()

Uses ffmpeg to convert a file to mp3

Returns the new file path on success

Input
sourcePathstring
Output
📄 convertToMp4 (exported const)

Uses ffmpeg to convert a file to mp3

Returns the new file path on success

CLI
Show CLI information (2)
compressImagesCli()

compressImages

searches the folder recursively for all images and converts them to webp

compressImages CLI syntax:

compressImages [basePath]

can also be relative path

Input
-
Output
📄 compressImagesCli (unexported const)

compressImages

searches the folder recursively for all images and converts them to webp

compressImages CLI syntax:

compressImages [basePath]

can also be relative path

Internal
Show internal (4)
compressImage()
Input
absoluteSourceImagePathstring
Output
compressImages()

searches the folder recursively for all images and converts them to webp

Input
absoluteBasePathstring
Output
📄 compressImage (exported const)
📄 compressImages (exported const)

searches the folder recursively for all images and converts them to webp