{"id":15673715,"url":"https://github.com/lmammino/lumpy","last_synced_at":"2025-05-06T22:47:27.595Z","repository":{"id":57290857,"uuid":"124755288","full_name":"lmammino/lumpy","owner":"lmammino","description":"A lumpy and dummy JavaScript module bundler for those who are stuck in the past","archived":false,"fork":false,"pushed_at":"2018-03-19T18:49:27.000Z","size":456,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-06T22:47:10.265Z","etag":null,"topics":["bundle","concatenate","dependencies","frontend","javascript","minify","module","modules","tool","utility"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lmammino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-11T12:42:27.000Z","updated_at":"2021-03-22T03:51:11.000Z","dependencies_parsed_at":"2022-09-01T14:00:11.080Z","dependency_job_id":null,"html_url":"https://github.com/lmammino/lumpy","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Flumpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Flumpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Flumpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Flumpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmammino","download_url":"https://codeload.github.com/lmammino/lumpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252782459,"owners_count":21803380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bundle","concatenate","dependencies","frontend","javascript","minify","module","modules","tool","utility"],"created_at":"2024-10-03T15:41:50.512Z","updated_at":"2025-05-06T22:47:27.580Z","avatar_url":"https://github.com/lmammino.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 👾 lumpy\n\n[![npm version](https://badge.fury.io/js/lumpy.svg)](http://badge.fury.io/js/lumpy)\n[![CircleCI](https://circleci.com/gh/lmammino/lumpy.svg?style=shield)](https://circleci.com/gh/lmammino/lumpy)\n[![codecov.io](https://codecov.io/gh/lmammino/lumpy/coverage.svg?branch=master)](https://codecov.io/gh/lmammino/lumpy)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n\nA lumpy and dummy JavaScript module bundler for those who are stuck in the past\n\n![Lumpy logo](/resources/lumpy-logo.png)\n\n\n## 💽 Install\n\nAs usual in 2018, most of the software is installed through `npm`, this one makes no difference:\n\n```bash\nnpm install --global lumpy\n```\n\nBe sure to have `node \u003e= 8.0.0`.\n\nAt this point you should be able to run the `lumpy` executable. Try it with:\n\n```bash\nlumpy --help\n```\n\n\n### 💾 Precompiled binaries\n\nAlternatively, you can install lumpy by downloading one of the precompiled executables available for Windows, Linux or Mac in the [releases page](https://github.com/lmammino/lumpy/releases).\n\n\n## 🦔 Usage\n\nLumpy helps you to build a JavaScript bundle file for your frontend applications dependencies starting from a lumpy file (`lumpy.txt`).\n\nA lumpy file is a plain text file that contains a list of the URLS of all your dependencies. An example `lumpy.txt` looks as follows:\n\n```plain\n# lumpy.txt\nhttps://unpkg.com/zepto@1.2.0/dist/zepto.min.js\nhttps://unpkg.com/uuidjs@4.0.3/dist/uuid.core.js\nhttps://unpkg.com/store2@2.7.0/dist/store2.min.js\nhttps://unpkg.com/tippy.js@2.2.3/dist/tippy.all.min.js\nhttps://unpkg.com/confetti-js@0.0.11/dist/index.min.js\nhttps://unpkg.com/dom-confetti@0.0.10/lib/main.js\nhttps://unpkg.com/favico.js@0.3.10/favico-0.3.10.min.js\n```\n\nA lumpy file can contain only URLs and comments. A comments is a line starting with `#`. Separate URLs need to be in separate lines. You can have as many empty lines as you want.\n\nInside your project, once you create your `lumpy.txt` file, listing all the dependencies for your frontend application, you can create a single compiled file containing all of them with the following command:\n\n```bash\nlumpy build\n```\n\nThis will output the built package in `vendor.js`. This file will contain the code contained in all the URLs specified in your `lumpy.txt` file (in the same order). By default the resulting JavaScript file will be minified using [babel-minify](http://npm.im/babel-minify).\n\n\n## 😱 Advanced usage\n\nThe `lumpy` executable offers 3 main sub-commands:\n\n  - `build`: creates a build package from a `lumpy.txt` file\n  - `clear-cache`: clears the cache folder\n  - `--help`: display the help for the main executable or a subcommand (`lumpy [build | clear-cache] --help`)\n\n\n### 📦 Build\n\nThe build command allows you to build a vendors package from a `lumpy.txt` file.\n\n#### Usage:\n\n```bash\nlumpy build [destFile]\n```\n\nWhere `destFile` is the path of the *compiled* bundle file (by default it will be `vendors.js` in the current working directory).\n\n#### Options:\n\n  - `--lumpyFile, -l [file]`: (optional) the lumpy file to use. By default it will check for a `lumpy.txt` file in the current working directory\n  - `--cacheFolder, -c [path]`: (optional) the path to a folder where the cache files are stored. By default it will create a `.lumpy-cache` directory in your user home directory.\n  - `--noMinify, -M`: (optional) if set it won't minify the resulting vendors bundle file.\n  - `--noCache, -C`: (optional) if set it won't try to use the cache\n  - `--stdout, -o`: (optional) if set it will output the resulting bundle in the standard output instead of a doing that on a file. Useful if you want to pipe the resulting content to another command.\n\n\n### 🛀🏿 Clear cache\n\nClear the cache folder deleting all the previously downloaded files.\n\n#### Usage:\n\n```bash\nlumpy clear-cache\n```\n\n#### Options:\n\n- `--cacheFolder, -c [path]`: (optional) the path to a folder where the cache files are stored. By default it will create a `.lumpy-cache` directory in your user home directory.\n\n\n## 👯‍ Contributing\n\nEveryone is very welcome to contribute to this project.\nYou can contribute just by submitting bugs or suggesting improvements by\n[opening an issue on GitHub](https://github.com/lmammino/stream-accumulator/issues).\n\n\n## 🤦‍ License\n\nLicensed under [MIT License](LICENSE). © Luciano Mammino.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmammino%2Flumpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmammino%2Flumpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmammino%2Flumpy/lists"}