file-monkey
v0.1.11
Published
Simplify file uploads for your application using our File API
Downloads
4
Readme
Installation
npm install file-monkey
To get your free API credentials, sign up for a File Monkey account here: https://filemonkey.io.
API Documentation
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.