{"id":21108948,"url":"https://github.com/pajaydev/bundle-me","last_synced_at":"2025-07-14T10:33:49.197Z","repository":{"id":57191543,"uuid":"149914242","full_name":"pajaydev/bundle-me","owner":"pajaydev","description":"Simple Utility to create a common bundle and to fetch all the files based on the options given.","archived":false,"fork":false,"pushed_at":"2020-07-03T03:58:58.000Z","size":88,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-26T12:51:52.837Z","etag":null,"topics":["bundle","bundle-files","create-bundle","filesystem","getallfiles","insidedirectory"],"latest_commit_sha":null,"homepage":"","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/pajaydev.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":"2018-09-22T20:17:42.000Z","updated_at":"2023-03-04T05:22:45.000Z","dependencies_parsed_at":"2022-09-01T00:52:45.533Z","dependency_job_id":null,"html_url":"https://github.com/pajaydev/bundle-me","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/pajaydev/bundle-me","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pajaydev%2Fbundle-me","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pajaydev%2Fbundle-me/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pajaydev%2Fbundle-me/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pajaydev%2Fbundle-me/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pajaydev","download_url":"https://codeload.github.com/pajaydev/bundle-me/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pajaydev%2Fbundle-me/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265280796,"owners_count":23739856,"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":["bundle","bundle-files","create-bundle","filesystem","getallfiles","insidedirectory"],"created_at":"2024-11-20T00:49:41.863Z","updated_at":"2025-07-14T10:33:49.147Z","avatar_url":"https://github.com/pajaydev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bundle-me [![Build Status](https://travis-ci.org/pajaydev/bundle-me.svg?branch=master)](https://travis-ci.org/pajaydev/bundle-me)\n\n\n## Install\n\n```\n$ npm install --save bundle-me\n```\n\n\n## Usage\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./static/bundleme.png\" height=\"280\"\u003e\n\u003c/p\u003e\n\n### Create Bundle\n\n```js\nconst {createBundle} = require('bundle-me');\n\n try {\n        createBundle({ path: filePath, extn: 'js', outputPath: 'example/bundle.js'})// creates bundle and returns the output path.\n    }\n    catch (error) {\n        console.log(error);\n    }\n```\n\n### Get All files\n\n```js\nconst { getAllFiles } = require('bundle-me');\n\n try {\n        getAllFiles({ path: filePath }); \n        // returns array of files in the given file path.\n    }\n    catch (error) {\n        console.log(error);\n    }\n```\n\n## Options\n\n```json\npath : input path of the source directory\nextn : File Extension (js,css,ts,etc.)\noutputPath: path of the output file. \n```\n\n\n## Problem\n\nI need to Bundle all the files in a particular directory based on the file extension. I know many libraries are available but it's not simple to use. I need to tweek it a lot, so I thought of creating this.\n\n## Solution\n\nCreated bundle-me module, which bundle all the files based on the directory into single output file based on your options provided. It provides array of all the files based on the file extension provided.\n\n## Example\nhttps://github.com/pajaydev/bundle-me/tree/master/example\n\n## License\n\nMIT \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpajaydev%2Fbundle-me","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpajaydev%2Fbundle-me","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpajaydev%2Fbundle-me/lists"}