{"id":16368899,"url":"https://github.com/apsdehal/spaces-to-tabs","last_synced_at":"2025-10-26T07:30:59.652Z","repository":{"id":57366872,"uuid":"60893358","full_name":"apsdehal/spaces-to-tabs","owner":"apsdehal","description":"Convert spaces to tabs in your files","archived":false,"fork":false,"pushed_at":"2018-01-04T17:25:26.000Z","size":7,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T16:49:27.722Z","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/apsdehal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-11T06:03:00.000Z","updated_at":"2022-07-08T13:11:20.000Z","dependencies_parsed_at":"2022-08-23T20:10:58.293Z","dependency_job_id":null,"html_url":"https://github.com/apsdehal/spaces-to-tabs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apsdehal%2Fspaces-to-tabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apsdehal%2Fspaces-to-tabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apsdehal%2Fspaces-to-tabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apsdehal%2Fspaces-to-tabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apsdehal","download_url":"https://codeload.github.com/apsdehal/spaces-to-tabs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238284788,"owners_count":19446727,"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":"2024-10-11T02:54:08.555Z","updated_at":"2025-10-26T07:30:59.348Z","avatar_url":"https://github.com/apsdehal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spaces-to-tabs\n[![NPM Version](https://img.shields.io/npm/v/spaces-to-tabs.svg?style=flat)](https://www.npmjs.com/package/spaces-to-tabs)\n[![Build Status](https://travis-ci.org/apsdehal/spaces-to-tabs.svg?branch=master)](https://travis-ci.org/apsdehal/spaces-to-tabs)\n\nConvert spaces to tabs\n\n## Install\n\n\u003e npm install --global spaces-to-tabs\n\n## Usage\n\n```\n  $ spaces-to-tabs -h\n\n  Usage: spaces-to-tabs [options] \u003cfile ...\u003e\n\n  Space to tabs: Convert space in your files to tabs\n\n  Options:\n\n    -h, --help              output usage information\n    -V, --version           output the version number\n    -s, --spaces \u003cinteger\u003e  Number of spaces in a group to convert\n    -w, --no-write          Don't write the file. Writes by default.\n\n  Globbing is supported in files\n\n  Examples:\n\n    $ spaces-to-tabs jquery-mobile/tests/**/*.js -s 4\n\n  By Amanpreet Singh \u003c@apsdehal\u003e\n```\n\n## API\n\u003e $ npm install --save spaces-to-tabs\n\n```js\nvar stt = require('spaces-to-tabs');\nvar str = 'some Strings';\nvar spacesNo = 4;\nstr = stt(str, spacesNo);\n```\n## License\n\nMIT © [Amanpreet Singh](https://apsdehal.in)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapsdehal%2Fspaces-to-tabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapsdehal%2Fspaces-to-tabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapsdehal%2Fspaces-to-tabs/lists"}