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

pugsharp

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pugsharp - npm Package Compare versions

Comparing version
0.3.1
to
0.3.2
+1
-1
package.json
{
"name": "pugsharp",
"version": "0.3.1",
"version": "0.3.2",
"description": "Generate responsive images and additional Pug templates, using sharp image processing and JSON configs.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -7,8 +7,12 @@ [![Pugs](docs/pugs.webp)](https://github.com/sebfried/pugsharp/)

Batch resize and reformat images for your [Pug](https://www.npmjs.com/package/pug) project.
Batch resize and reformat images for your [Pug](https://www.npmjs.com/package/pug) project, based on JSON configuration files.
## About
The [pugsharp Node.js module](https://www.npmjs.com/package/pugsharp) is evolving, based on the specifications of the fictional Pug Image Transformer (PIT). For more details, visit [PIT's GitHub Repository](https://github.com/sebfried/pit).
## How it works
For every image listed in the `pugsharp.json` configuration file, pugsharp creates a dedicated directory named after the image.
## How to use the Module
Inside the created directory, you'll discover the generated images, along with a `pugsharp.pug` file. This file is a powerful tool for seamlessly integrating the generated images into your project, making it incredibly easy to manage and display your images in a responsive and efficient manner.
The pugsharp module is designed to streamline your image handling process, saving you both time and effort, and making your project development smoother and more efficient.
## How to use it
If you have not already done so, [download and install Node.js and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).

@@ -89,3 +93,3 @@

## Pug Mixins
As a bonus, pugsharp generates a Pug mixin template for each processed image, further simplifying the integration of responsive images into your Pug projects.
Pugsharp generates a Pug mixin template for each processed image, further simplifying the integration of responsive images into your Pug projects.

@@ -150,3 +154,3 @@ ### How to use the Pug Mixins

## Support this Project
## How to support this Project
Your support, whether through code, feedback, or donations on Ko-Fi, is invaluable to keeping this project thriving!

@@ -153,0 +157,0 @@