New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gulp-hexsquare

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-hexsquare

Gulp plugin to conver hex textures to square

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

gulp-hexsquare

Gulp plugin to conver hex textures to square

example

Install

First download and install GraphicsMagick or ImageMagick.

$ npm install --save-dev gulp-hexsquare

Usage

var gulp = require('gulp');
var hexsquare = require('gulp-hexsquare');

gulp.task('default', function () {
    return gulp.src('src/file.ext')
        .pipe(hexsquare({
            size: {
                width: 72,
                height: 72
            }
        }))
        .pipe(gulp.dest('dist'));
});

API

hexsquare(options)

options

resize

Type: object Optional

Square texture will be resized to given dimentionals.

gulp.task('default', function () {
    return gulp.src('src/file.ext')
        .pipe(hexsquare({
            size: {
                width: 72,
                height: 72
            }.
            resize: {
                width: 32,
                height: 32
            }
        }))
        .pipe(gulp.dest('dist'));
});

License

MIT © Alex Bardanov

Keywords

gulpplugin

FAQs

Package last updated on 29 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts