{"id":24886325,"url":"https://github.com/base-repos/base-yarn","last_synced_at":"2026-05-17T19:33:02.451Z","repository":{"id":66211930,"uuid":"89560391","full_name":"base-repos/base-yarn","owner":"base-repos","description":"Plugin for adding yarn methods to your Base application.","archived":false,"fork":false,"pushed_at":"2017-04-27T05:52:41.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T07:05:06.998Z","etag":null,"topics":["api","base","install","plugin","yarn"],"latest_commit_sha":null,"homepage":"https://github.com/jonschlinkert","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/base-repos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/contributing.md","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":"2017-04-27T05:48:25.000Z","updated_at":"2025-01-31T00:40:22.000Z","dependencies_parsed_at":"2023-02-21T23:16:05.387Z","dependency_job_id":null,"html_url":"https://github.com/base-repos/base-yarn","commit_stats":null,"previous_names":["node-base/base-yarn","base-repos/base-yarn"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/base-repos%2Fbase-yarn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/base-repos%2Fbase-yarn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/base-repos%2Fbase-yarn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/base-repos%2Fbase-yarn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/base-repos","download_url":"https://codeload.github.com/base-repos/base-yarn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245825201,"owners_count":20678521,"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","base","install","plugin","yarn"],"created_at":"2025-02-01T15:14:38.655Z","updated_at":"2026-05-17T19:32:57.433Z","avatar_url":"https://github.com/base-repos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# base-yarn [![NPM version](https://img.shields.io/npm/v/base-yarn.svg?style=flat)](https://www.npmjs.com/package/base-yarn) [![NPM monthly downloads](https://img.shields.io/npm/dm/base-yarn.svg?style=flat)](https://npmjs.org/package/base-yarn)  [![NPM total downloads](https://img.shields.io/npm/dt/base-yarn.svg?style=flat)](https://npmjs.org/package/base-yarn)\n\n\u003e Plugin for adding yarn methods to your Base application.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save base-yarn\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add base-yarn\n```\n\n## Usage\n\n```js\nvar Base = require('base');\nvar base = new Base({isApp: true});\nvar yarn = require('..');\n\nbase.use(yarn());\n```\n\n## Examples\n\nSee the [examples directory](./examples) for code examples that can be run.\n\n```js\nbase.yarn.add(['isobject', 'micromatch'], function(err) {\n  if (err) throw err;\n  console.log('done');\n});\n\n// custom arguments\nbase.yarn(['why', 'find-pkg'], function(err) {\n  if (err) throw err;\n  console.log('done');\n});\n```\n\n## API\n\nThis plugin exposes the full API from the [yarn-api](https://github.com/jonschlinkert/yarn-api) library. See that project for all available methods and documentation.\n\n## About\n\n### Related projects\n\n* [base-plugins](https://www.npmjs.com/package/base-plugins): Adds 'smart plugin' support to your base application. | [homepage](https://github.com/node-base/base-plugins \"Adds 'smart plugin' support to your base application.\")\n* [base](https://www.npmjs.com/package/base): Framework for rapidly creating high quality node.js applications, using plugins like building blocks | [homepage](https://github.com/node-base/base \"Framework for rapidly creating high quality node.js applications, using plugins like building blocks\")\n* [yarn-api](https://www.npmjs.com/package/yarn-api): Basic API for yarn. | [homepage](https://github.com/jonschlinkert/yarn-api \"Basic API for yarn.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\nPlease read the [contributing guide](.github/contributing.md) for advice on opening issues, pull requests, and coding standards.\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme \u0026\u0026 verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install \u0026\u0026 npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on April 27, 2017._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbase-repos%2Fbase-yarn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbase-repos%2Fbase-yarn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbase-repos%2Fbase-yarn/lists"}