{"id":25389968,"url":"https://github.com/z2oh/gulp-tabify","last_synced_at":"2025-09-07T05:36:42.994Z","repository":{"id":57259161,"uuid":"66116199","full_name":"z2oh/gulp-tabify","owner":"z2oh","description":"Turn those spaces into tabs!","archived":false,"fork":false,"pushed_at":"2016-12-30T22:54:30.000Z","size":5,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T14:26:49.366Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/z2oh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-19T22:31:29.000Z","updated_at":"2016-12-30T22:54:32.000Z","dependencies_parsed_at":"2022-08-28T21:41:55.050Z","dependency_job_id":null,"html_url":"https://github.com/z2oh/gulp-tabify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z2oh%2Fgulp-tabify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z2oh%2Fgulp-tabify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z2oh%2Fgulp-tabify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z2oh%2Fgulp-tabify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z2oh","download_url":"https://codeload.github.com/z2oh/gulp-tabify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248121994,"owners_count":21051218,"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","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":"2025-02-15T14:23:34.575Z","updated_at":"2025-04-09T22:27:28.366Z","avatar_url":"https://github.com/z2oh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [gulp](http://gulpjs.com)-tabify\n\n[![Build Status](https://travis-ci.org/z2oh/gulp-tabify.svg?branch=master)](https://travis-ci.org/z2oh/gulp-tabify)\n[![David](https://david-dm.org/z2oh/gulp-tabify.svg)](https://david-dm.org/z2oh/gulp-tabify.svg)\n\n\n## Features\n\n* Changes spaces to be tabs\n* Number of spaces to change is configurable\n\n## Install\n\n```sh\n$ npm install --save-dev gulp-tabify\n```\n\n## Usage\n\n```js\nvar gulp = require('gulp');\nvar tabify = require('gulp-tabify');\n\ngulp.task('default', function () {\n  return gulp.src('./app/**.*.js')\n    .pipe(tabify(4, true))\n    .pipe(gulp.dest('./app'));\n});\n```\n\n## API\n\n```\ntabfiy(numSpaces, preserveAlignmentSpaces)\n```\n\n`numSpaces` is the number of spaces to convert to a tab at the beginning of each line. The default is 4.\n\n`preserveAlignmentSpaces` is a boolean. When set to true, alignment spaces are preserved; false ignores them. Default is true. Example when set to true:\n\nBefore\n\n![Before](http://i.imgur.com/9auXOlJ.png)\n\nAfter\n\n![After](http://i.imgur.com/xL2bQmg.png)\n\n-------\n\n\n[![licence](https://img.shields.io/npm/l/gulp-strip-comments.svg)](https://opensource.org/licenses/MIT)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz2oh%2Fgulp-tabify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz2oh%2Fgulp-tabify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz2oh%2Fgulp-tabify/lists"}