🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

chevereto

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chevereto

A lightweight Node.js module to easily upload images through chevereto API

latest
Source
npmnpm
Version
1.3.2
Version published
Maintainers
1
Created
Source

chevereto

A lightweight Node.js module to easily upload images through chevereto API

Usage

yarn add chevereto
# Or
npm install -save chevereto
const Chevereto = require('chevereto')

/*
 * With chevereto.example.com is the domain where you install chevereto
 * @param {*} host is a domain. (required)
 * @param {*} key api from chevereto. (get from https://chevereto.example.com/dashboard/settings/api) (required)
 */

const chevereto = new Chevereto({
  host: 'https://chevereto.f97.xyz',
  key: 'b7c188e055e26e6dce8b252a780dc068'
});

/**
 * @param {*} imageURL is a URL for an image. (up to 32 MB) (required)
 */
const imageURL = 'https://f97.xyz/image/avatar.png';
chevereto.upload(imageURL).then((res) => console.log(res)); 

FAQs

Package last updated on 08 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts