2.1.0 • Published 11 months ago

@nepaltechinnov/img-to-url v2.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Usage

npm i @nepaltechinnov/img-to-url
import imgToUrl from "@nepaltechinnov/img-to-url";

suppose you have a file in input>type:file

const urls = await imageToUrl(file);

Output: (in urls)

{
    "originalUrl": "https://i.ibb.co/6B7kXxq/tony-frost-e-Iu-IK1zbg-Bs-unsplash.jpg",
    "mediumUrl": "https://i.ibb.co/0tRxsSz/tony-frost-e-Iu-IK1zbg-Bs-unsplash.jpg",
    "thumbnailUrl": "https://i.ibb.co/Hdfjhs9/tony-frost-e-Iu-IK1zbg-Bs-unsplash.jpg"
}
2.1.0

11 months ago

2.0.2

11 months ago

2.0.1

11 months ago

2.0.0

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago