npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

post-to-ripple

v1.0.2

Published

A simple module to post content to rippl.fun

Readme

post-to-ripple

A simple npm module to post content to rippl.fun with optional images.

Installation

You can install this module via npm from the npm registry or from a local directory.

Install via npm:

npm install post-to-ripple

Usage

This module allows you to post content to rippl.fun by providing your PHP session ID, the content to post, and optionally, an image URL to include in the post.

Example

Basic Usage (without an image):

const postToRipple = require('post-to-ripple');

const postData = {
    phpsessid: 'your-php-sess-id-here',  // Your PHP session ID
    postContent: 'Here is my post content with some cool message!'  // Content of your post
};

postToRipple(postData)
    .then(() => {
        console.log('Post submitted successfully!');
    })
    .catch((error) => {
        console.error('Error submitting post:', error);
    });

Usage with an Image:

const postToRipple = require('post-to-ripple');

const postData = {
    phpsessid: 'your-php-sess-id-here',  // Your PHP session ID
    postContent: 'Here is a post with an image!',  // Content of your post
    imageUrl: 'https://example.com/image.jpg'  // Optional: URL of the image to attach
};

postToRipple(postData)
    .then(() => {
        console.log('Post submitted successfully!');
    })
    .catch((error) => {
        console.error('Error submitting post:', error);
    });

Parameters

The function postToRipple() accepts an object with the following properties:

  • phpsessid: Required - Your PHP session ID. This is necessary for authentication with the rippl.fun website.
  • postContent: Required - The content you want to post. This can be a simple text string or a more complex message.
  • imageUrl: Optional - If provided, this URL will be used to attach an image to the post. The image is downloaded from the URL and uploaded along with the post.

Error Handling

If an error occurs during the post submission (e.g., invalid session ID, network issue, or image download failure), it will be caught and logged to the console.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • This module is built on top of the axios HTTP client for making requests.
  • The FormData package is used for submitting form data, including images.