Skip to content

worksolutions/frontend-utils

Repository files navigation

@worksolutions/utils

Утилиты для фронтенд приложений


Установка

npm i @worksolutions/utils

Demos


files

convertBytesToHumanReadableFormat
convertBytesToHumanReadableFormat(2048) // 2.0 кб
createFileInput
// createFileInput(multiply?: boolean, acceptTypes?: AcceptTypes[])
createFileInput(false, AcceptTypes.IMAGE)
convertFileToFileInterface
convertFileToFileInterface(instanceOfFile) // FileInterface

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published