imgix.js

v3.4.2
imgix.js is a dependency-free JavaScript library that allows you to easily use the imgix API to make images on your site or app responsive to device size and pixel density. imgix.js allows for intuitive use of imgix features such as text formatting, color

test

./node_modules/jasmine/bin/jasmine.js

build

mkdir -p dist && ./node_modules/browserify/bin/cmd.js ./src/imgix.js > ./dist/imgix.js && ./node_modules/uglify-js/bin/uglifyjs ./dist/imgix.js --mangle > ./dist/imgix.min.js

pretty

prettier --write "src/**/*.js" "spec/**/*.js"

release

npm run build && git add dist src/imgix.js && standard-version -a

test:watch

chokidar "src/*.js" "spec/*.js" -c "npm run test"

Metadata

Downloads