Skip to content

simple script to run files through the tinypng optimizer

Notifications You must be signed in to change notification settings

cmajel/tiny-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-files

A simple node script to run files through the tinyjpg optimizer. (JPGs and PNGs only)

Requirements

You will need node and npm to run this, as well as an api key from tinypng

Installation

  • Install your packages: npm i
  • Update your config.js with your api key.
  • Update your config.js with the starting + ending directory for the files you want to optimize (or play around with the examples).
  • Run the script: node tiny.js

About

simple script to run files through the tinypng optimizer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published