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.