{"id":15693731,"url":"https://github.com/jonschlinkert/change-indent","last_synced_at":"2025-05-08T04:55:27.489Z","repository":{"id":19582964,"uuid":"22832913","full_name":"jonschlinkert/change-indent","owner":"jonschlinkert","description":"Change the indentation in a string.","archived":false,"fork":false,"pushed_at":"2021-04-16T20:05:08.000Z","size":164,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-08T04:55:11.526Z","etag":null,"topics":["indent","indentation","javascript","nodejs","spaces","string","tabs"],"latest_commit_sha":null,"homepage":"https://github.com/jonschlinkert","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/jonschlinkert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-11T08:57:42.000Z","updated_at":"2021-05-20T14:16:11.000Z","dependencies_parsed_at":"2022-08-23T20:30:43.165Z","dependency_job_id":null,"html_url":"https://github.com/jonschlinkert/change-indent","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/jonschlinkert%2Fchange-indent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fchange-indent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fchange-indent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fchange-indent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","download_url":"https://codeload.github.com/jonschlinkert/change-indent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253002854,"owners_count":21838640,"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":["indent","indentation","javascript","nodejs","spaces","string","tabs"],"created_at":"2024-10-03T18:48:06.664Z","updated_at":"2025-05-08T04:55:27.464Z","avatar_url":"https://github.com/jonschlinkert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# change-indent [![NPM version](https://badge.fury.io/js/change-indent.png)](http://badge.fury.io/js/change-indent)\n\n\u003e Change the indentation in a string.\n\n## Install\n#### Install with [npm](npmjs.org):\n\n```bash\nnpm i change-indent --save-dev\n```\n\n## Usage\n\n```js\nvar changeIndent = require('change-indent');\nchange(string, indent);\n```\n\n* `string` **{String}** pass the string you want to re-indent\n* `indent` **{Number}** the amount of indentation\n\n**Example:**\n\n```js\nvar changeIndent = require('change-indent');\nchange('  abc', 4);\n\n//=\u003e '    abc'\n```\n\n## Author\n\n**Jon Schlinkert**\n \n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) \n\n## License\nCopyright (c) 2014 Jon Schlinkert, contributors.  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 11, 2014._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonschlinkert%2Fchange-indent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonschlinkert%2Fchange-indent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonschlinkert%2Fchange-indent/lists"}