+1
-1
| { | ||
| "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": [ |
+10
-6
@@ -7,8 +7,12 @@ [](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 @@ |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
1160343
0.03%173
2.37%