Skip to content

dpck/photo-uploader

Repository files navigation

photo-uploader

npm version

photo-uploader is The Front-End Photo Uploader With Previews.

yarn add -E photo-uploader

Table Of Contents

API

The package is available by importing its default function:

import photoUploader from 'photo-uploader'

photoUploader(
  arg1: string,
  arg2?: boolean,
): void

Call this function to get the result you want.

Config: Options for the program.

Name Type Description Default
shouldRun boolean A boolean option. true
text* string A text to return. -
/* yarn example/ */
import photoUploader from 'photo-uploader'

(async () => {
  const res = await photoUploader({
    text: 'example',
  })
  console.log(res)
})()
example

Copyright

(c) Art Deco 2019

About

The Front-End Photo Uploader With Previews.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published