JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 21
  • Score
    100M100P100Q45144F
  • License GPL-3.0

An Image Manipulation API With More than 50+ commands. ReWriten in typescript

Package Exports

  • memer.ts
  • memer.ts/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (memer.ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Memer.ts Documentation

Logo

What is Memer.ts?

Memer.ts is a versatile npm package for easy image manipulation in TypeScript and JavaScript. It allows you to add text, apply filters, resize images, and more, all with a simple and efficient API that supports various image formats.


image

Installation

To begin using memer.ts, follow these simple steps:

Install memer.ts from npm using npm or yarn.

npm install memer.ts
yarn add memer.ts

Examples

Once installed, you can import Memer.ts into your TypeScript or JavaScript files and start manipulating images. Here’s how to import Memer.ts:

// Basic usage example
import fs from "fs/promises";
import { Memer } from "memer.ts";

const memer = new Memer()

async function createImageFile() {
    try {
    // using stonks function
        const buffer = await memer.stonks("Memer.ts UP.");

        // Write the buffer to a file called image.png
        await fs.writeFile("image.png", buffer);
        console.log("Image file created successfully.");
    } catch (error) {
        console.error("Error creating image file:", error);
    }
}

createImageFile();

Found a Bug? 🐞

Uh-oh, looks like you stumbled upon a bug? No worries, we're here to squash it! Just head over to our issues section on GitHub and let us know what's up.

Contributors 🀲

Want to Help Out?

Feel free to contribute to this project! Whether you're an experienced developer or have been in the field for a while, your help is valuable.