Socket
Socket
Sign inDemoInstall

file-monkey

Package Overview
Dependencies
9
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    file-monkey

Simplify file uploads for your application using our File API


Version published
Weekly downloads
5
increased by400%
Maintainers
1
Install size
903 kB
Created
Weekly downloads
 

Readme

Source

Simplify file uploads for your application using our File API


Installation

npm install file-monkey

To get your free API credentials, sign up for a File Monkey account here: https://filemonkey.io.

API Documentation

https://swagger.filemonkey.io

Usage

<input id="html-input-element" type="file" />
import { FileMonkey } from 'file-monkey';

const fileMonkey = FileMonkey('<username>');

const htmlInputElement = document.getElementById("html-input-element");

htmlInputElement.addEventListener("change", function (event) {
    fileMonkey.onChange(event).then((result) => {
      console.log(result);
    });
});

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Contributing

We follow the conventional commits specification to ensure consistent commit messages and changelog formatting.

FAQs

Last updated on 17 Oct 2022

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc