New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

jesusify

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jesusify

Takes as input the name of a picture. Outputs that picture with a picture of Jesus Christ and 'Jesus loves you!' overtop of it.

latest
Source
npmnpm
Version
0.3.1-0
Version published
Maintainers
1
Created
Source

Jesusify is a module that takes the path to an image and outputs that same image with a picture of Jesus Christ and the words "Jesus loves you" overtop of it. It also allows one to pass a callback function that takes two parameters: an error (null if no errors occurred) and a JIMP image object (null if an error occurred). Here is an example of its use:

var jesusify = require('jesusify');
var path = require('path');

//Take in ./images/martinLuther.jpeg, jesusify it, write it out to
//./martinLuther.png and to ./martinLuther.jpeg.
jesusify.jesusify(path.join(__dirname, "images/martinLuther.jpeg"),
				path.join(__dirname, "martinLuther.png"),
	function (err, image) {
		if (err) {
			console.error("Received error: \"" + err + "\"");
			return;
		}
		else {
			image.write("martinLuther.jpeg");
		}
	}
);

Important updates for version 0.3.0:

Fixed bug where callbacks were firing before images were done writing.

Keywords

jesus

FAQs

Package last updated on 09 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts