npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2024 – Pkg Stats / Ryan Hefner

@raja-rakoto/minificator

v2.0.2

Published

Minificator CLI: efficience solution for swiftly reducing file sizes and effortlessly optimizing a variety of file formats πŸ› οΈ

Downloads

51

Readme

minificator πŸ› οΈ

forthebadge forthebadge forthebadge forthebadge forthebadge

Git Gitub

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 ...

key features:

  • πŸ”’ Offline - Optimize files locally to ensure data privacy and security without needing an internet connection.
  • πŸš€ Performance & Optimization - Minimize file sizes while preserving quality, ensuring efficient storage and enhancing the performance of various applications.
  • 🎯 Ease to use - Features an intuitive CLI interface, making file optimization simple even for beginners
  • πŸ“‚ Variety of formats - Supports various file formats like JPEG, PNG, GIF, PDFs, and more.

πŸ“Œ Usage

npm install -g @raja-rakoto/minificator

πŸ“Œ NPM Scripts

Start

  • πŸ“œ start - Run your application with bun.
  • πŸ“œ start:smol - Run your application with bun and a flag which configures the JavaScriptCore heap size to be smaller and grow slower.
  • πŸ“œ start:bin - Run your standalone binary app.

Clean

  • πŸ“œ clean - Remove coverage data, prod, build.

Development

  • πŸ“œ dev - Launch your application in development mode with bun.
  • πŸ“œ dev:watch - Interactive watch mode to automatically transpile source files with bun in development.
  • πŸ“œ dev:hot - Hot reloading of source files with bun in development.
  • πŸ“œ dev:smol:watch - Interactive watch mode to automatically transpile source files with bun in development, while using --smol flag.
  • πŸ“œ dev:smol:hot - Hot reloading source files with bun in development, while using --smol flag.

Build

  • πŸ“œ build - Transpile and bundle source files with bun.
  • πŸ“œ build:watch - Interactive watch mode to automatically transpile source files with bun.
  • πŸ“œ 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.

Testing

  • πŸ“œ test - Run bun test.
  • πŸ“œ test:watch - Interactive watch mode to automatically re-run tests with bun.

Linting and Formatting

  • πŸ“œ biome:start - Starts the Biome daemon server. You can specify a custom configuration file path using the --config-path option.
  • πŸ“œ biome:stop - Stops the Biome daemon server.
  • πŸ“œ biome:fix - Runs a source code check and applies automatic fixes (linter & formatter) according to the defined rules.
  • πŸ“œ biome:unsafe - Works like biome:fix, but may apply more invasive or risky changes.

Backup and Dependency Management

  • πŸ“œ backup - Backup files with Grunt.
  • πŸ“œ pkg-check - Check useless dependencies with depcheck.
  • πŸ“œ pkg-upgrade - Upgrade outdated dependencies (interactive mode) with npm-check-updates.

Versioning

  • πŸ“œ versioning - Start ungit server.

NPM Commands

  • πŸ“œ npm-version:major - Increments the major version number of your project using npm.
  • πŸ“œ npm-version:minor - Increments the minor version number of your project using npm.
  • πŸ“œ npm-version:patch - Increments the version patch number of your project using npm.
  • πŸ“œ npm-login - Login to a registry user account.
  • πŸ“œ npm-publish - Publish your npm package with public access.
  • πŸ“œ npm-unpublish - Forcefully unpublish the cli package from npm.
  • πŸ“œ npm-reset:registry - Delete the custom npm registry.
  • πŸ“œ npm-check:registry - Get the currently configured registry for npm.
  • πŸ“œ npm-proxy-set:registry - Set the npm registry to use a local proxy.
  • πŸ“œ npm-proxy:start - Start a Verdaccio server with a local npm proxy.
  • πŸ“œ npm-proxy:publish - Publish your npm package via the local proxy.
  • πŸ“œ npm-proxy:unpublish - Forcefully unpublish the cli package from the npm registry via the local proxy.
  • πŸ“œ npm-proxy:republish - Republish your npm package by first unpublishing it and then publishing it again via the local proxy.

NVM

  • πŸ“œ nvm - Manage multiple node.js versions. Easily switch between node versions per project to ensure compatibility.

πŸ“Œ Build

When 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.