tinypng - 基于 TinyPNG 封装的一个支持nodejs、命令行和 webpack 的图片压缩工具

  •        157

基于 tinypng 封装的一个支持 `nodejs`、`命令行`和`webpack`的图片压缩工具

https://github.com/qiu8310/tinypng

Dependencies:

fs-extra : ~3.0.1
log-update : 2.0.0
mora-common : ~0.0.10
mora-scripts : ~1.6.4
svgo : ~0.7.2
tinify : ~1.5.0
webpack-sources : ~1.0.1

Tags
Implementation
License
Platform

   




Related Projects

TinyPNG4Mac - TinyPNG client for Mac

  •    Swift

This is a client of TinyPNG for Mac, with which you can compress pngs without open browser and manually download images, all you need to do is just drag and drop. Check "Anywhere" in Preferences -> Security & privacy if you can not open this app. Just for the first time, and I suggest you uncheck it after you open this app for security.

babel-minify-webpack-plugin - Babel Minify Webpack Plugin

  •    Javascript

minifyOpts are passed on to babel-preset-minify. You can find a list of all available options in the package directory.

uglifyjs-webpack-plugin - UglifyJS Plugin

  •    Javascript

If you use your own minify function please read the minify section for cache invalidation correctly. Enable file caching. Default path to cache directory: node_modules/.cache/uglifyjs-webpack-plugin.

vue-cli-plugin-electron-builder - A Vue Cli 3 plugin for Electron with no required configuration

  •    Javascript

A Vue Cli 3 plugin for Electron with no required configuration that uses Electron Builder. IMPORTANT: These docs are for the v1.0.0-beta release of VCP Electron Builder. If you were previously using an older version of vue-cli-plugin-electron-builder (<1.0.0), please see the upgrade guide or view the old docs.


imagemin-cli - Minify images

  •    Javascript

Issues with the output should be reported on the imagemin issue tracker.

stylelint-webpack-plugin - A webpack plugin to lint your CSS/Sass code using stylelint

  •    Javascript

This module requires a minimum of Node v6.9.0 and webpack v4.0.0. Both stylelint-loader and this module have their uses. stylelint-loader lints the files you require (or the ones you define as an entry in your webpack config). However, @imports in files are not followed, meaning only the main file for each require/entry is linted.

clean-webpack-plugin - A webpack plugin to remove your build folder(s) before building

  •    Javascript

This is a modified version of WebPack's Plugin documentation that includes the Clean Plugin.

webpack-cli - Webpack's Command Line Interface

  •    Javascript

Webpack CLI encapsulates all code related to CLI handling. It captures options and sends them to webpack compiler. You can also find functionality for initializing a project and migrating between versions. For the time being, it is backwards-compatible with the CLI included in webpack itself.The migrate feature eases the transition from version 1 to version 2. migrate also allows users to switch to the new version of webpack without having to extensively refactor.

npm-build-boilerplate - A collection of packages that build a website using npm scripts.

  •    Javascript

A collection of packages that build a website using npm scripts. autoprefixer, browser-sync, eslint, imagemin-cli, node-sass, onchange, npm-run-all, postcss-cli, svgo, svg-sprite-generator, uglify-js.

webpack-bundle-analyzer - Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap

  •    Javascript

Visualize size of webpack output files with an interactive zoomable treemap. It will create an interactive treemap visualization of the contents of all your bundles.

angular2-aot-webpack - Angular AOT (Ahead Of Time) offline compilation example with Webpack

  •    Javascript

This repository shows how to use the Angular command line offline compiler ngc with Webpack. If you prefer the Webpack plugin provided by the Angular CLI, it can be found in a separate repository.

image-to-ascii - :floppy_disk: A Node.js module that converts images to ASCII art.

  •    Javascript

A Node.JS module that converts images to ASCII art. 💡 ProTip: You can install the cli version of this module by running npm install --global image-to-ascii-cli (or yarn global add image-to-ascii-cli).

node-exif - A node.js library to extract Exif metadata from images.

  •    Javascript

With node-exif you can extract Exif metadata from images (JPEG). Exif is a format used, for example, by digital cameras and scanners to save additional information about an image in the image file. This information can be the camera model, resolution, where the image was taken (GPS) or when it was taken. Rodrigo Espinosa proposes the npm package exif-cli to execute node-exif from a shell.

preload-webpack-plugin - A webpack plugin for injecting <link rel='preload|prefecth'> into HtmlWebpackPlugin pages, with async chunk support

  •    Javascript

A Webpack plugin for automatically wiring up asynchronous (and other types) of JavaScript chunks using <link rel='preload'>. This helps with lazy-loading. Note: This is an extension plugin for html-webpack-plugin - a plugin that simplifies the creation of HTML files to serve your webpack bundles.

minify - :scissors: An ES6+ aware minifier based on the Babel toolchain (beta)

  •    Javascript

An ES6+ aware minifier based on the Babel toolchain.Babel-Minify is consumable via API, CLI, or Babel preset.

html-webpack-plugin - Simplifies creation of HTML files to serve your webpack bundles

  •    Javascript

This is a webpack plugin that simplifies creation of HTML files to serve your webpack bundles. This is especially useful for webpack bundles that include a hash in the filename which changes every compilation. You can either let the plugin generate an HTML file for you, supply your own template using lodash templates or use your own loader. The html-webpack-plugin works without configuration. It's a great addition to the ⚙️ webpack-config-plugins.

hard-source-webpack-plugin

  •    Javascript

HardSourceWebpackPlugin is a plugin for webpack to provide an intermediate caching step for modules. In order to see results, you'll need to run webpack twice with this plugin: the first build will take the normal amount of time. The second build will be signficantly faster. Install with npm install --save hard-source-webpack-plugin or yarn. And include the plugin in your webpack's plugins configuration.