{"id":21811480,"url":"https://github.com/dnbard/gulp-hexsquare","last_synced_at":"2025-07-26T02:34:28.733Z","repository":{"id":25183068,"uuid":"28606340","full_name":"dnbard/gulp-hexsquare","owner":"dnbard","description":"Convert hex textures to square","archived":false,"fork":false,"pushed_at":"2014-12-29T21:28:32.000Z","size":156,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-27T12:15:39.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dnbard.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-29T21:01:40.000Z","updated_at":"2014-12-29T21:28:32.000Z","dependencies_parsed_at":"2022-07-24T04:32:23.257Z","dependency_job_id":null,"html_url":"https://github.com/dnbard/gulp-hexsquare","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dnbard/gulp-hexsquare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnbard%2Fgulp-hexsquare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnbard%2Fgulp-hexsquare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnbard%2Fgulp-hexsquare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnbard%2Fgulp-hexsquare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnbard","download_url":"https://codeload.github.com/dnbard/gulp-hexsquare/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnbard%2Fgulp-hexsquare/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267107993,"owners_count":24037356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T13:44:49.858Z","updated_at":"2025-07-26T02:34:28.689Z","avatar_url":"https://github.com/dnbard.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-hexsquare\n\nGulp plugin to conver hex textures to square\n\n![example](https://raw.githubusercontent.com/dnbard/gulp-hexsquare/master/screens/example.png)\n\n\n## Install\n\nFirst download and install [GraphicsMagick](http://www.graphicsmagick.org/) or [ImageMagick](http://www.imagemagick.org/).\n\n```sh\n$ npm install --save-dev gulp-hexsquare\n```\n\n\n## Usage\n\n```js\nvar gulp = require('gulp');\nvar hexsquare = require('gulp-hexsquare');\n\ngulp.task('default', function () {\n    return gulp.src('src/file.ext')\n        .pipe(hexsquare({\n            size: {\n                width: 72,\n                height: 72\n            }\n        }))\n        .pipe(gulp.dest('dist'));\n});\n```\n\n\n## API\n\n### hexsquare(options)\n\n#### options\n\n##### resize\n\nType: `object`\nOptional\n\nSquare texture will be resized to given dimentionals.\n\n```js\ngulp.task('default', function () {\n    return gulp.src('src/file.ext')\n        .pipe(hexsquare({\n            size: {\n                width: 72,\n                height: 72\n            }.\n            resize: {\n                width: 32,\n                height: 32\n            }\n        }))\n        .pipe(gulp.dest('dist'));\n});\n```\n\n\n## License\n\nMIT © [Alex Bardanov](https://github.com/dnbard)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnbard%2Fgulp-hexsquare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnbard%2Fgulp-hexsquare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnbard%2Fgulp-hexsquare/lists"}