{"id":18434712,"url":"https://github.com/assemble/assemble-select-files","last_synced_at":"2025-07-04T18:34:21.679Z","repository":{"id":57184969,"uuid":"58394026","full_name":"assemble/assemble-select-files","owner":"assemble","description":"Assemble plugin that adds a `.selectFiles` method to the instance, for reading in a glob of files and prompting the user to select the files they want to write to the file system.","archived":false,"fork":false,"pushed_at":"2016-05-09T17:11:50.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-23T00:04:50.871Z","etag":null,"topics":["assemble","assemble-plugin","cli","files","prompt"],"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/assemble.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-05-09T17:09:15.000Z","updated_at":"2019-07-15T17:13:06.000Z","dependencies_parsed_at":"2022-09-14T09:50:12.893Z","dependency_job_id":null,"html_url":"https://github.com/assemble/assemble-select-files","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assemble%2Fassemble-select-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assemble%2Fassemble-select-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assemble%2Fassemble-select-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assemble%2Fassemble-select-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/assemble","download_url":"https://codeload.github.com/assemble/assemble-select-files/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247716361,"owners_count":20984227,"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":["assemble","assemble-plugin","cli","files","prompt"],"created_at":"2024-11-06T06:05:02.754Z","updated_at":"2025-04-07T19:31:55.752Z","avatar_url":"https://github.com/assemble.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# assemble-select-files [![NPM version](https://img.shields.io/npm/v/assemble-select-files.svg?style=flat)](https://www.npmjs.com/package/assemble-select-files) [![NPM downloads](https://img.shields.io/npm/dm/assemble-select-files.svg?style=flat)](https://npmjs.org/package/assemble-select-files) [![Build Status](https://img.shields.io/travis/assemble/assemble-select-files.svg?style=flat)](https://travis-ci.org/assemble/assemble-select-files)\n\nAssemble plugin that adds a `.selectFiles` method to the instance, for reading in a glob of files and prompting the user to select the files they want to write to the file system.\n\nYou might also be interested in [assemble-select-views](https://github.com/assemble/assemble-select-views).\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install assemble-select-files --save\n```\n\n**Example**\n\n![assemble-select-files](https://cloud.githubusercontent.com/assets/383994/15121181/49828aec-15e7-11e6-9d7d-9f388f2666e3.gif)\n\n## Usage\n\n```js\nvar select = require('assemble-select-files');\nvar assemble = require('assemble');\nvar app = assemble();\n\n// register the plugin\napp.use(select());\n```\n\n**Example usage**\n\n```js\n// create a collection\napp.create('pages');\n\n// register an engine for rendering \".hbs\" files\napp.engine('hbs', require('engine-handlebars'));\n\n// ask the user which files they want to render and write to the file system\napp.selectFiles('*.hbs', function(err, files) {\n  // `files` is the array of rendered files\n  console.log(files);\n});\n```\n\n## Related projects\n\nYou might also be interested in these projects:\n\n* [assemble-select-views](https://www.npmjs.com/package/assemble-select-views): Assemble plugin that adds a `.selectViews` method to the instance, for prompting the user to… [more](https://www.npmjs.com/package/assemble-select-views) | [homepage](https://github.com/assemble/assemble-select-views)\n* [assemble](https://www.npmjs.com/package/assemble): Assemble is a powerful, extendable and easy to use static site generator for node.js. Used… [more](https://www.npmjs.com/package/assemble) | [homepage](https://github.com/assemble/assemble)\n* [generate](https://www.npmjs.com/package/generate): Fast, composable, highly extendable project generator with a user-friendly and expressive API. | [homepage](https://github.com/generate/generate)\n* [templates](https://www.npmjs.com/package/templates): System for creating and managing template collections, and rendering templates with any node.js template engine.… [more](https://www.npmjs.com/package/templates) | [homepage](https://github.com/jonschlinkert/templates)\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/assemble/assemble-select-files/issues/new).\n\n## Building docs\n\nGenerate readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install verb \u0026\u0026 npm run docs\n```\n\nOr, if [verb](https://github.com/verbose/verb) is installed globally:\n\n```sh\n$ verb\n```\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d \u0026\u0026 npm test\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\n\nCopyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT license](https://github.com/assemble/assemble-select-files/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on May 09, 2016._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassemble%2Fassemble-select-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fassemble%2Fassemble-select-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassemble%2Fassemble-select-files/lists"}