https://github.com/violetics/jimp
Jimp API Wrapper for https://violetics.pw/api/jimp
https://github.com/violetics/jimp
api javascript jimp npm violetics wrapper
Last synced: 3 months ago
JSON representation
Jimp API Wrapper for https://violetics.pw/api/jimp
- Host: GitHub
- URL: https://github.com/violetics/jimp
- Owner: violetics
- License: mit
- Created: 2022-03-21T18:00:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-23T13:19:00.000Z (over 3 years ago)
- Last Synced: 2025-10-23T10:41:35.725Z (9 months ago)
- Topics: api, javascript, jimp, npm, violetics, wrapper
- Language: JavaScript
- Homepage: https://violetics.pw/api/jimp
- Size: 81.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Violetics API Jimp
> **_Jimp API Wrapper for https://violetics.pw/api/jimp_**
```diff
@@ Created on 22-03-22 | Violetics @@
```
## Installation
using npm package manager
> _npm install @violetics/jimp_
using yarn package manager
> _yarn add @violetics/jimp_
## Example Request
```javascript
"use strict";
const fs = require("fs");
const Violetics = require("@violetics/jimp");
const v = new Violetics("API_KEY"); // register on https://violetics.pw/ to get your own apikey
/* then, catch */
v.tahta("Violetics")
.then((data) => {
let { type, buffer } = data;
fs.writeFileSync(`./result.${type.ext}`, buffer);
console.info("done");
})
.catch(console.error);
/* callback */
v.tahta("Violetics", (error, data) => {
if (error) return console.error(error);
let { type, buffer } = data;
fs.writeFileSync(`./result.${type.ext}`, buffer);
console.info("done");
});
```
## Information
```diff
+ dont forget to star <3
! contribute to this project! ~~~
- please add issue if you having problem with installation
! github: https://github.com/Violetics/jimp
```