{"id":26411385,"url":"https://github.com/tfnrp/fivem-merge","last_synced_at":"2025-03-17T20:33:31.790Z","repository":{"id":55053652,"uuid":"411593267","full_name":"TFNRP/fivem-merge","owner":"TFNRP","description":"An API to merge your FiveM vehicle resources","archived":false,"fork":false,"pushed_at":"2023-03-06T11:53:11.000Z","size":450,"stargazers_count":6,"open_issues_count":4,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-06T07:18:12.665Z","etag":null,"topics":["api","cli","fivem","manifest","merge","meta","xml"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TFNRP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"TFNRP","patreon":"JustAPaw","ko_fi":"JustAPaw","custom":"https://paypal.me/HagenHyena"}},"created_at":"2021-09-29T08:35:49.000Z","updated_at":"2024-07-07T18:41:08.000Z","dependencies_parsed_at":"2023-02-08T04:16:32.180Z","dependency_job_id":null,"html_url":"https://github.com/TFNRP/fivem-merge","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TFNRP%2Ffivem-merge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TFNRP%2Ffivem-merge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TFNRP%2Ffivem-merge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TFNRP%2Ffivem-merge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TFNRP","download_url":"https://codeload.github.com/TFNRP/fivem-merge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244105851,"owners_count":20398929,"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":["api","cli","fivem","manifest","merge","meta","xml"],"created_at":"2025-03-17T20:32:34.324Z","updated_at":"2025-03-17T20:33:31.782Z","avatar_url":"https://github.com/TFNRP.png","language":"JavaScript","funding_links":["https://github.com/sponsors/TFNRP","https://patreon.com/JustAPaw","https://ko-fi.com/JustAPaw","https://paypal.me/HagenHyena","https://patreon.com/yeen"],"categories":[],"sub_categories":[],"readme":"\u003ch2 align=\"center\"\u003eFiveM Merge\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://travis-ci.com/github/TFNRP/fivem-merge\"\u003e\u003cimg href=\"https://www.travis-ci.com/github/TFNRP/fivem-merge\" alt=\"Travis\" src=\"https://app.travis-ci.com/TFNRP/fivem-merge.svg?branch=main\"\u003e\u003c/a\u003e\n\u003ca href=\"https://patreon.com/yeen\"\u003e\u003cimg alt=\"Patreon\" src=\"https://img.shields.io/badge/patreon-donate?color=F77F6F\u0026labelColor=F96854\u0026logo=patreon\u0026logoColor=ffffff\"\u003e\u003c/a\u003e\n\u003ca href=\"https://discord.gg/xHaPKfSDtu\"\u003e\u003cimg alt=\"Discord\" src=\"https://img.shields.io/discord/463778631551025187?color=7389D8\u0026labelColor=6A7EC2\u0026logo=discord\u0026logoColor=ffffff\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Table of Contents\n\n- [About](#about)\n- [Documentation](#documentation)\n  - [CLI](#cli)\n  - [API](#api)\n\n## About\n\nFivem API for vehicle resource packing.\n\n## Documentation\n\n### CLI\n\n```sh\n$ vmerge --help\n```\n\n### API\n\n```js\nconst merge = require('fivem-merge');\n/**\n * The relative paths to the resources to merge\n * @type {(string|string[])}\n */\nconst paths = './'\n/**\n * Options for vMerge\n * @type {Object}\n */\nconst options = {\n  /**\n   * The location to move the merged resource into\n   * @type {string}\n   */\n  outputPath: './vehicles',\n  /**\n   * A preferred temp path. Uses `os.tmpdir()` by default\n   * @type {string}\n   * @default undefined\n   */\n  tempPath: null,\n  /**\n   * Additional info logging\n   * @type {boolean}\n   * @default false\n   */\n  verbose: true,\n  /**\n   * Whether output XML should be linted for human readability\n   * @type {Boolean}\n   * @default true\n   */\n  lintOutput: true,\n}\n\n/**\n * Merges FiveM vehicle resources\n * @param {(string|string[])} paths The relative paths to the resources to merge\n * @param {VMergeOptions} options Options to use with vMerge\n * @returns {Promise\u003cboolean\u003e}\n */\nmerge(paths, options)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfnrp%2Ffivem-merge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftfnrp%2Ffivem-merge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfnrp%2Ffivem-merge/lists"}