@ultramodz/graph-uploader

1.0.0 • Public • Published

@ultramodz/graph-uploader

Upload images or videos and convert them into Graph.org links.

Installation

You can install this package via npm:

npm install @ultramodz/graph-uploader

Example

Here's an example of how to use

const { GraphOrg } = require('@ultramodz/graph-uploader');
const path = '/path/to/your/file.jpg'; // Provide the path to your image or video file

GraphOrg(path)
  .then((graphLink) => {
    console.log('Graph.org link:', graphLink);
  })
  .catch((error) => {
    console.error('Upload failed:', error.message);
  });

Package Sidebar

Install

npm i @ultramodz/graph-uploader

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.77 kB

Total Files

3

Last publish

Collaborators

  • ultramodz