{"id":23593928,"url":"https://github.com/hutsoninc/make-dir-range","last_synced_at":"2025-11-04T14:30:41.739Z","repository":{"id":93009126,"uuid":"156440212","full_name":"hutsoninc/make-dir-range","owner":"hutsoninc","description":"Make directories from ranges of integers.","archived":false,"fork":false,"pushed_at":"2019-06-05T11:06:42.000Z","size":260,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T17:35:43.007Z","etag":null,"topics":["dir","directory","integer","make","mkdir","range"],"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/hutsoninc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-06T20:01:39.000Z","updated_at":"2018-11-26T20:57:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"60b44c76-1266-4bb8-b337-8dbb1e0be6e6","html_url":"https://github.com/hutsoninc/make-dir-range","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"b9b57abbf5580633134a74372a5ba609dda5c060"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hutsoninc%2Fmake-dir-range","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hutsoninc%2Fmake-dir-range/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hutsoninc%2Fmake-dir-range/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hutsoninc%2Fmake-dir-range/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hutsoninc","download_url":"https://codeload.github.com/hutsoninc/make-dir-range/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239434536,"owners_count":19637964,"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":["dir","directory","integer","make","mkdir","range"],"created_at":"2024-12-27T09:14:18.699Z","updated_at":"2025-11-04T14:30:41.696Z","avatar_url":"https://github.com/hutsoninc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# make-dir-range\n\n[![Build Status](https://travis-ci.com/hutsoninc/make-dir-range.svg?branch=master)](https://travis-ci.com/hutsoninc/make-dir-range) [![Current npm package version](https://img.shields.io/npm/v/make-dir-range.svg)](https://www.npmjs.com/package/make-dir-range) \n\nMake directories from ranges of integers.\n\n## Installation\n\n`npm install --save make-dir-range`\n\n## Usage\n\n```js\nconst makeDirRange = require('make-dir-range');\n\nmakeDirRange('1-3,5,9-10');\n```\n\n```\n$ tree\n.\n├── 1\n├── 2\n├── 3\n├── 5\n├── 9\n├── 10\n│ ...\n```\n\nWith options:\n\n```js\nconst makeDirRange = require('make-dir-range');\n\nmakeDirRange('11-13,15', {\n    destination: 'out',\n    append: 'a',\n    prepend: 'p'\n});\n```\n\n```\n$ tree\n.\n├── out\n│   ├── p11a\n│   ├── p12a\n│   ├── p13a\n│   └── p15a\n│ ...\n```\n\n## Options\n\nProperty | Description | Default\n--- | --- | ---\ndestination | Destination directory | `\"\"`\nappend | String to append to directory names | `\"\"`\nprepend | String to prepend to directory names | `\"\"`\n\n## Related\n\n- [make-dir-range-cli](https://github.com/hutsoninc/make-dir-range-cli) - CLI for this module\n- [copy-to-range](https://github.com/hutsoninc/copy-to-range) - Copy a file to a range of directories\n- [move-to-range](https://github.com/hutsoninc/move-to-range) - Move files to corresponding directories given a range\n\n## Authors\n\n* **Austin Gordon** - *Development* - [GitHub](https://github.com/AustinLeeGordon)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhutsoninc%2Fmake-dir-range","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhutsoninc%2Fmake-dir-range","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhutsoninc%2Fmake-dir-range/lists"}