All Projects → kodie → Npm Gif

kodie / Npm Gif

Licence: mit
Replace NPM install's progress bar with a GIF!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Npm Gif

Lilliput
Resize images and animated GIFs in Go
Stars: ✭ 1,690 (+409.04%)
Mutual labels:  image, images, gif
Awesomeimagepicker
Awesome Image Picker library will pick images/gifs with beautiful interface. Supports image or gif, Single and Multiple Image selection.
Stars: ✭ 160 (-51.81%)
Mutual labels:  image, images, gif
Seashore
easy to use mac osx image editing application for the rest of us
Stars: ✭ 182 (-45.18%)
Mutual labels:  image, images
Uploadcare Widget
Uploadcare Widget, an ultimate tool for HTML5 file upload supporting multiple file upload, drag&drop, validation by file size/file extension/MIME file type, progress bar for file uploads, image preview.
Stars: ✭ 183 (-44.88%)
Mutual labels:  image, images
Exiftool Vendored.js
Fast, cross-platform Node.js access to ExifTool
Stars: ✭ 200 (-39.76%)
Mutual labels:  image, images
Image Optimizer
Easily optimize images using PHP
Stars: ✭ 2,127 (+540.66%)
Mutual labels:  image, gif
Hxphotopicker
图片/视频选择器 - 支持LivePhoto、GIF图片选择、3DTouch预览、在线下载iCloud上的资源、编辑图片/视频、浏览网络图片 功能 Imitation wx photo/image picker - support for LivePhoto, GIF image selection, 3DTouch preview, Download the resources on iCloud online, browse the web image function
Stars: ✭ 2,363 (+611.75%)
Mutual labels:  image, gif
Silentbox
A lightbox inspired Vue.js component.
Stars: ✭ 196 (-40.96%)
Mutual labels:  image, images
Mergi
go library for image programming (merge, crop, resize, watermark, animate, ease, transit)
Stars: ✭ 127 (-61.75%)
Mutual labels:  image, gif
KGySoft.Drawing
KGy SOFT Drawing is a library for advanced image, icon and graphics handling.
Stars: ✭ 27 (-91.87%)
Mutual labels:  images, gif
Gulp Image
Optimize PNG, JPEG, GIF, SVG images with gulp task.
Stars: ✭ 213 (-35.84%)
Mutual labels:  image, gif
Selene
A C++17 image representation, processing and I/O library.
Stars: ✭ 266 (-19.88%)
Mutual labels:  image, images
Imageviewer
A simple and customizable Android full-screen image viewer 一个简单且可自定义的Android全屏图像浏览器
Stars: ✭ 1,889 (+468.98%)
Mutual labels:  image, gif
React Native Story
React native instagram story
Stars: ✭ 144 (-56.63%)
Mutual labels:  image, npm
Bbwebimage
A high performance Swift library for downloading, caching and editing web images asynchronously.
Stars: ✭ 128 (-61.45%)
Mutual labels:  image, gif
Vue Cool Lightbox
Vue.js lightbox inspired by fancybox.
Stars: ✭ 196 (-40.96%)
Mutual labels:  image, images
Sketch
Sketch 是 Android 上一个强大且全面的图片加载器,支持 GIF,手势缩放以及分块显示超大图片。Sketch is a powerful and comprehensive image loader on Android, with support for GIF, gesture zooming, block display super large image
Stars: ✭ 1,557 (+368.98%)
Mutual labels:  image, gif
Crunch
Crunch is a tool for lossy PNG image file optimization. It combines selective bit depth, color type, and color palette reduction with zopfli DEFLATE compression algorithm encoding using the pngquant and zopflipng PNG optimization tools. This approach leads to a significant file size gain relative to lossless approaches at the expense of a relatively modest decrease in image quality (see example images below).
Stars: ✭ 3,074 (+825.9%)
Mutual labels:  image, images
Grunt Image
Optimize PNG, JPEG, GIF, SVG images with grunt task.
Stars: ✭ 201 (-39.46%)
Mutual labels:  image, gif
Yii2 Imagine
Yii 2 imagine extension
Stars: ✭ 271 (-18.37%)
Mutual labels:  image, images

npm-gif

npm package version Travis build status npm package downloads code style license

preview GIF

Replace NPM install's progress bar with a GIF!

NOTE: This package should be considered experimental.

Requirements

iTerm2 v2.9 or higher is required to display actual images. Otherwise an ASCII version of the images will be displayed.

Installation

npm install --global npm-gif

Bonus Points

Add this line to your ~/.bash_profile, ~/.bashrc, or ~/.zshrc file so that you can experience awesomeness with the npm install command:

alias npm=npm-gif

Configure

You can change the loading GIF by setting the NPM_GIF environment variable to a file path or URL.

How?

When npm-gif is first run, it checks to see if it was passed the install or i arguments indicating that the user wishes to install an npm package. If neither of those arguments were passed, it simply spawns a new process of npm, passing the supplied arguments and options to it. If we are dealing with an install, it pretends that we have already required the gauge package but really, using mock-require, we have required gauge-gif.js which is just progress-img pretending to be gauge. We then require your local version of npm using global-npm (which won't reload gauge) and then use its internal functions to run the install command, passing arguments and options to it.

Why?

When I first saw @sindresorhus's term-img package I was inspired to create giph and then progress-img. I then saw @vadimdemedes's gifi package and wondered if there was a way I could implement progress-img into npm.

In short, this was basically just an experiment for fun. :)

License

MIT. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].