New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vegetto

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vegetto

constructor of fragmented files

  • 0.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Description

Vegetto is a module for allowing divided nodejs development, so that this module groups and files minify.

npm install vegetto

Minify and merge files: .js, .json, .css and .html

Usage

config.json

{
    "files": {
        "./folder/file.min.js": [
            "./folder/dev/file1.js",
            "./folder/dev/file2.js"
        ]
    },
    "options": {}
}
vegetto config.json

Vegetto heard and modified files will be saved in time so minify file.min.js

Refresh

Adding "refresh" the object attribute options can create a list of files you hear the change of the final file, so that when this is changed it will be stored in those files.

{
    "files": {
        "./folder/file.min.js": [
            "./folder/dev/file1.js",
            "./folder/dev/file2.js"
        ]
    },
    "options": {
        "refresh": {
            "./folder/file.min.js": [
                "./olderFolder/file.js"
            ]
        }
    }
}

Minify project

Parse the script tags, link and style, read the files and then compressed to minify, so that the project remains minified html.

{
    "project": {
        "./dist": "./dev/app.html"
    }
}

FAQs

Package last updated on 31 Jul 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc