1.0.0 • Published 6 years ago
img_file_dbt v1.0.0
What is this?
An image file generator for file extention types. e.g (doc,docx,txt,xls,xlsx,csv)
Installation
Run npm i img_file_dbt
Use:
import getFile from 'img_file_dbt'
getFile("cv.pdf")Parameters
The image file generator accepts one parameter. A file path and returns an image depending on extention type.
1.0.0
6 years ago