{"id":15365582,"url":"https://github.com/tunnckocore/github-clone-labels","last_synced_at":"2025-08-25T08:15:52.494Z","repository":{"id":12503957,"uuid":"72016413","full_name":"tunnckoCore/github-clone-labels","owner":"tunnckoCore","description":"Cloning labels from source repository to destination repository. Period.","archived":false,"fork":false,"pushed_at":"2023-01-11T22:35:07.000Z","size":494,"stargazers_count":4,"open_issues_count":18,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-05T02:17:35.523Z","etag":null,"topics":[],"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/tunnckoCore.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-26T15:20:14.000Z","updated_at":"2022-12-05T13:38:29.000Z","dependencies_parsed_at":"2023-01-13T16:59:06.995Z","dependency_job_id":null,"html_url":"https://github.com/tunnckoCore/github-clone-labels","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tunnckoCore%2Fgithub-clone-labels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tunnckoCore%2Fgithub-clone-labels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tunnckoCore%2Fgithub-clone-labels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tunnckoCore%2Fgithub-clone-labels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tunnckoCore","download_url":"https://codeload.github.com/tunnckoCore/github-clone-labels/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219842930,"owners_count":16556566,"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":[],"created_at":"2024-10-01T13:15:10.328Z","updated_at":"2024-10-16T07:21:59.059Z","avatar_url":"https://github.com/tunnckoCore.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [github-clone-labels][author-www-url] [![npmjs.com][npmjs-img]][npmjs-url] [![The MIT License][license-img]][license-url] [![npm downloads][downloads-img]][downloads-url] \n\n\u003e Cloning labels from source repository to destination repository. Period.\n\n[![code climate][codeclimate-img]][codeclimate-url] [![standard code style][standard-img]][standard-url] [![travis build status][travis-img]][travis-url] [![coverage status][coveralls-img]][coveralls-url] [![dependency status][david-img]][david-url]\n\n## Install\n\u003e Install with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i github-clone-labels --save\n```\n\nor use it as **CLI**\n\n```sh\n$ npm i github-clone-labels --global\n```\n\n## Usage\n\u003e For more use-cases see the [tests](./test.js)\n\n```js\nconst githubCloneLabels = require('github-clone-labels')\n```\n\n## CLI Usage\n\n```\n$ github-clone-labels --help\n$ github-clone-labels tunnckoCore/gruu node-minibase/minibase --token 89s7df9h34jkbkjas\n```\n\n## API\n\n### [githubCloneLabels](index.js#L41)\n\u003e Clone labels of `opts.src` repository to some `opts.dest` repository. Pattern is `username/repo`. You also can provide `opts.token` for auth.\n\n**Params**\n\n* `\u003copts\u003e` **{Object}**    \n* `\u003ccb\u003e` **{Function}**    \n\n**Example**\n\n```js\nvar clone = require('github-clone-labels')\n\nclone({\n  src: 'tunnckoCore/gruu',\n  dest: 'node-minibase/minibase',\n  token: '...'\n}, function done (err, res) {\n  if (err) return console.error(err.stack)\n\n  console.log(res)\n  // =\u003e array of created labels at `opts.dest`\n})\n```\n\n## Related\n- [always-done](https://www.npmjs.com/package/always-done): Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync… [more](https://github.com/hybridables/always-done#readme) | [homepage](https://github.com/hybridables/always-done#readme \"Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement for [async-done][] - pass 100% of its tests plus more\")\n- [base](https://www.npmjs.com/package/base): base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting with… [more](https://github.com/node-base/base) | [homepage](https://github.com/node-base/base \"base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting with a handful of common methods, like `set`, `get`, `del` and `use`.\")\n- [github-base](https://www.npmjs.com/package/github-base): JavaScript wrapper that greatly simplifies working with GitHub's API. | [homepage](https://github.com/jonschlinkert/github-base \"JavaScript wrapper that greatly simplifies working with GitHub's API.\")\n- [in-array](https://www.npmjs.com/package/in-array): Return true if a value exists in an array. Faster than using indexOf and won't blow… [more](https://github.com/jonschlinkert/in-array) | [homepage](https://github.com/jonschlinkert/in-array \"Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.\")\n- [is-async-function](https://www.npmjs.com/package/is-async-function): Is function really asynchronous function? Trying to guess that based on check if [common-callback-names][] exists as… [more](https://github.com/tunnckocore/is-async-function#readme) | [homepage](https://github.com/tunnckocore/is-async-function#readme \"Is function really asynchronous function? Trying to guess that based on check if [common-callback-names][] exists as function arguments names or you can pass your custom.\")\n- [is-installed](https://www.npmjs.com/package/is-installed): Checks that given package is installed on the system - globally or locally. | [homepage](https://github.com/tunnckoCore/is-installed#readme \"Checks that given package is installed on the system - globally or locally.\")\n- [is-missing](https://www.npmjs.com/package/is-missing): Check that given `name` or `user/repo` exists in npm registry or in github as user repository. | [homepage](https://github.com/tunnckocore/is-missing#readme \"Check that given `name` or `user/repo` exists in npm registry or in github as user repository.\")\n- [isarray](https://www.npmjs.com/package/isarray): Array#isArray for older browsers | [homepage](https://github.com/juliangruber/isarray \"Array#isArray for older browsers\")\n- [minibase](https://www.npmjs.com/package/minibase): MiniBase is minimalist approach to Base - @node-base, the awesome framework. Foundation for building complex APIs… [more](https://github.com/node-minibase/minibase#readme) | [homepage](https://github.com/node-minibase/minibase#readme \"MiniBase is minimalist approach to Base - @node-base, the awesome framework. Foundation for building complex APIs with small units called plugins. Works well with most of the already existing [base][] plugins.\")\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/tunnckoCore/github-clone-labels/issues/new).  \nBut before doing anything, please read the [CONTRIBUTING.md](./CONTRIBUTING.md) guidelines.\n\n## [Charlike Make Reagent](http://j.mp/1stW47C) [![new message to charlike][new-message-img]][new-message-url] [![freenode #charlike][freenode-img]][freenode-url]\n\n[![tunnckoCore.tk][author-www-img]][author-www-url] [![keybase tunnckoCore][keybase-img]][keybase-url] [![tunnckoCore npm][author-npm-img]][author-npm-url] [![tunnckoCore twitter][author-twitter-img]][author-twitter-url] [![tunnckoCore github][author-github-img]][author-github-url]\n\n[async-done]: https://github.com/gulpjs/async-done\n[base]: https://github.com/node-base/base\n[common-callback-names]: https://github.com/tunnckocore/common-callback-names\n[in-array]: https://github.com/jonschlinkert/in-array\n\n[npmjs-url]: https://www.npmjs.com/package/github-clone-labels\n[npmjs-img]: https://img.shields.io/npm/v/github-clone-labels.svg?label=github-clone-labels\n\n[license-url]: https://github.com/tunnckoCore/github-clone-labels/blob/master/LICENSE\n[license-img]: https://img.shields.io/npm/l/github-clone-labels.svg\n\n[downloads-url]: https://www.npmjs.com/package/github-clone-labels\n[downloads-img]: https://img.shields.io/npm/dm/github-clone-labels.svg\n\n[codeclimate-url]: https://codeclimate.com/github/tunnckoCore/github-clone-labels\n[codeclimate-img]: https://img.shields.io/codeclimate/github/tunnckoCore/github-clone-labels.svg\n\n[travis-url]: https://travis-ci.org/tunnckoCore/github-clone-labels\n[travis-img]: https://img.shields.io/travis/tunnckoCore/github-clone-labels/master.svg\n\n[coveralls-url]: https://coveralls.io/r/tunnckoCore/github-clone-labels\n[coveralls-img]: https://img.shields.io/coveralls/tunnckoCore/github-clone-labels.svg\n\n[david-url]: https://david-dm.org/tunnckoCore/github-clone-labels\n[david-img]: https://img.shields.io/david/tunnckoCore/github-clone-labels.svg\n\n[standard-url]: https://github.com/feross/standard\n[standard-img]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg\n\n[author-www-url]: http://www.tunnckocore.tk\n[author-www-img]: https://img.shields.io/badge/www-tunnckocore.tk-fe7d37.svg\n\n[keybase-url]: https://keybase.io/tunnckocore\n[keybase-img]: https://img.shields.io/badge/keybase-tunnckocore-8a7967.svg\n\n[author-npm-url]: https://www.npmjs.com/~tunnckocore\n[author-npm-img]: https://img.shields.io/badge/npm-~tunnckocore-cb3837.svg\n\n[author-twitter-url]: https://twitter.com/tunnckoCore\n[author-twitter-img]: https://img.shields.io/badge/twitter-@tunnckoCore-55acee.svg\n\n[author-github-url]: https://github.com/tunnckoCore\n[author-github-img]: https://img.shields.io/badge/github-@tunnckoCore-4183c4.svg\n\n[freenode-url]: http://webchat.freenode.net/?channels=charlike\n[freenode-img]: https://img.shields.io/badge/freenode-%23charlike-5654a4.svg\n\n[new-message-url]: https://github.com/tunnckoCore/ama\n[new-message-img]: https://img.shields.io/badge/ask%20me-anything-green.svg\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftunnckocore%2Fgithub-clone-labels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftunnckocore%2Fgithub-clone-labels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftunnckocore%2Fgithub-clone-labels/lists"}