{"id":15973751,"url":"https://github.com/rajarakoto/minificator","last_synced_at":"2025-03-17T15:31:56.083Z","repository":{"id":65522425,"uuid":"483131848","full_name":"RajaRakoto/minificator","owner":"RajaRakoto","description":"Minificator CLI: efficience solution for swiftly reducing file sizes and effortlessly optimizing a variety of file formats 🛠️","archived":false,"fork":false,"pushed_at":"2024-05-28T15:30:37.000Z","size":1224,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-29T05:45:32.349Z","etag":null,"topics":["all-in-one","cli","compress","minify","tools"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/RajaRakoto.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-19T06:57:35.000Z","updated_at":"2024-08-05T06:44:16.188Z","dependencies_parsed_at":"2024-08-05T06:44:06.783Z","dependency_job_id":"c19d83c6-4438-43e3-a2e4-cc1ada7fc1b6","html_url":"https://github.com/RajaRakoto/minificator","commit_stats":{"total_commits":48,"total_committers":1,"mean_commits":48.0,"dds":0.0,"last_synced_commit":"1eee465bdfcf0e66a28483c81d513a6d449d9d8a"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RajaRakoto%2Fminificator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RajaRakoto%2Fminificator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RajaRakoto%2Fminificator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RajaRakoto%2Fminificator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RajaRakoto","download_url":"https://codeload.github.com/RajaRakoto/minificator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243869357,"owners_count":20360999,"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":["all-in-one","cli","compress","minify","tools"],"created_at":"2024-10-07T21:07:02.089Z","updated_at":"2025-03-17T15:31:55.751Z","avatar_url":"https://github.com/RajaRakoto.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minificator 🛠️\n\n[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com) [![forthebadge](https://forthebadge.com/images/badges/for-you.svg)](https://forthebadge.com) [![forthebadge](https://forthebadge.com/images/badges/open-source.svg)](https://forthebadge.com) [![forthebadge](https://forthebadge.com/images/badges/uses-git.svg)](https://forthebadge.com) [![forthebadge](https://rajarakoto.github.io/github-docs/badge/build-by.svg)](https://forthebadge.com)\n\n![Git](https://img.shields.io/badge/-Git-777?style=flat\u0026logo=git\u0026logoColor=F05032\u0026labelColor=ffffff) ![Gitub](https://img.shields.io/badge/-Gitub-777?style=flat\u0026logo=github\u0026logoColor=777\u0026labelColor=ffffff)\n\n**Ditch online tools and optimize your files locally with Minificator, a powerful and user-friendly CLI tool that swiftly reduces file sizes for a variety of file formats, including images, PDFs, and more ...**\n\nkey features:\n\n- 🔒 **Offline** - Optimize files locally to ensure data privacy and security without needing an internet connection.\n- 🚀 **Performance \u0026 Optimization** - Minimize file sizes while preserving quality, ensuring efficient storage and enhancing the performance of various applications.\n- 🎯 **Ease to use** - Features an intuitive CLI interface, making file optimization simple even for beginners\n- 📂 **Variety of formats** - Supports various file formats like JPEG, PNG, GIF, PDFs, and more.\n\n---\n\n### 📌 Usage\n\n```bash\nnpm install -g @raja-rakoto/minificator\n```\n\n\u003cimg src=\"https://rajarakoto.github.io/github-docs/minificator/minificator-demo.gif\" width=\"800\"\u003e\n\n---\n\n### 📌 NPM Scripts\n\n**Start**\n\n- 📜 `start` - Run your application with bun.\n- 📜 `start:smol` - Run your application with bun and a flag which configures the JavaScriptCore heap size to be smaller and grow slower.\n- 📜 `start:bin` - Run your standalone binary app.\n\n**Clean**\n\n- 📜 `clean` - Remove coverage data, prod, build.\n\n**Development**\n\n- 📜 `dev` - Launch your application in development mode with bun.\n- 📜 `dev:watch` - Interactive watch mode to automatically transpile source files with bun in development.\n- 📜 `dev:hot` - Hot reloading of source files with bun in development.\n- 📜 `dev:smol:watch` - Interactive watch mode to automatically transpile source files with bun in development, while using --smol flag.\n- 📜 `dev:smol:hot` - Hot reloading source files with bun in development, while using --smol flag.\n\n**Build**\n\n- 📜 `build` - Transpile and bundle source files with bun.\n- 📜 `build:watch` - Interactive watch mode to automatically transpile source files with bun.\n- 📜 `build:bin` - bun's bundler implements a --compile flag for generating a standalone binary from a TypeScript or JavaScript file, use this in your production environment to ensure optimal execution of your app.\n\n**Testing**\n\n- 📜 `test` - Run bun test.\n- 📜 `test:watch` - Interactive watch mode to automatically re-run tests with bun.\n\n**Linting and Formatting**\n\n- 📜 `biome:start` - Starts the Biome daemon server. You can specify a custom configuration file path using the `--config-path` option.\n- 📜 `biome:stop` - Stops the Biome daemon server.\n- 📜 `biome:fix` - Runs a source code check and applies automatic fixes (linter \u0026 formatter) according to the defined rules.\n- 📜 `biome:unsafe` - Works like `biome:fix`, but may apply more invasive or risky changes.\n\n**Backup and Dependency Management**\n\n- 📜 `backup` - Backup files with Grunt.\n- 📜 `pkg-check` - Check useless dependencies with depcheck.\n- 📜 `pkg-upgrade` - Upgrade outdated dependencies (interactive mode) with npm-check-updates.\n\n**Versioning**\n\n- 📜 `versioning` - Start ungit server.\n\n**NPM Commands**\n\n- 📜 `npm-version:major` - Increments the major version number of your project using npm.\n- 📜 `npm-version:minor` - Increments the minor version number of your project using npm.\n- 📜 `npm-version:patch` - Increments the version patch number of your project using npm.\n- 📜 `npm-login` - Login to a registry user account.\n- 📜 `npm-publish` - Publish your npm package with public access.\n- 📜 `npm-unpublish` - Forcefully unpublish the cli package from npm.\n- 📜 `npm-reset:registry` - Delete the custom npm registry.\n- 📜 `npm-check:registry` - Get the currently configured registry for npm.\n- 📜 `npm-proxy-set:registry` - Set the npm registry to use a local proxy.\n- 📜 `npm-proxy:start` - Start a Verdaccio server with a local npm proxy.\n- 📜 `npm-proxy:publish` - Publish your npm package via the local proxy.\n- 📜 `npm-proxy:unpublish` - Forcefully unpublish the cli package from the npm registry via the local proxy.\n- 📜 `npm-proxy:republish` - Republish your npm package by first unpublishing it and then publishing it again via the local proxy.\n\n**NVM**\n\n- 📜 `nvm` - Manage multiple node.js versions. Easily switch between node versions per project to ensure compatibility.\n\n---\n\n### 📌 Build\n\nWhen using the **build.js** file in this project, it's important to note the significance of the **target** option. By default, if the target option is not specified in the **build.js** file, it will be set to `browser`. However, for projects utilizing the `bun.js` runtime environment, it's imperative to explicitly set the target to `bun`. This guarantees compatibility with the `bun` shell environment and prevents unexpected behavior. Furthermore, it's noteworthy that the `target` supports three possible values: `browser`, `bun`, and `node`, providing flexibility in defining the build target according to specific project requirements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajarakoto%2Fminificator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajarakoto%2Fminificator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajarakoto%2Fminificator/lists"}