Skip to content

Releases: daneedev/random-img-api

v1.1.0

15 Dec 16:48
a426b1c
Compare
Choose a tag to compare

What's new?

  • Big security updates
  • Added rate limiting

v1.0.2

06 Mar 11:53
c2f0204
Compare
Choose a tag to compare

What's new?

v1.0.1

05 Mar 16:37
1fad99b
Compare
Choose a tag to compare

What's new?

  • Code hinting added

v1.0.0

04 Mar 16:15
16a9c25
Compare
Choose a tag to compare

❔ About

With this package you can create API that will randomly generates images.

🏁 Installation

npm i randomimgapi

# Dev Version
npm i randomimgapi@dev

📜 Example

const { API } = require('randomimgapi')

API({
    imgFolder: 'img', // folder where you will store images
    port: 4000, // the port on which the api will run
    apiURL: '' , // leave it blank if you want use it on main page (https://yourdomain.com/)
    apiDomain: 'localhost:4000' // your domain on which will api work (if you want to use localhost do it with port)
})