{"id":15689758,"url":"https://github.com/jonschlinkert/yarn-global-modules","last_synced_at":"2025-05-07T23:08:27.224Z","repository":{"id":57403256,"uuid":"126226339","full_name":"jonschlinkert/yarn-global-modules","owner":"jonschlinkert","description":"Get the absolute path to the yarn global modules directory (globally installed modules).","archived":false,"fork":false,"pushed_at":"2018-03-21T19:04:11.000Z","size":8,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T23:08:21.260Z","etag":null,"topics":["config","directory","global","globally","installed","javascript","modules","node","nodejs","npm","packages","path","prefix","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/jonschlinkert.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}},"created_at":"2018-03-21T18:53:33.000Z","updated_at":"2024-02-24T22:42:21.000Z","dependencies_parsed_at":"2022-09-15T14:41:27.453Z","dependency_job_id":null,"html_url":"https://github.com/jonschlinkert/yarn-global-modules","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fyarn-global-modules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fyarn-global-modules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fyarn-global-modules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fyarn-global-modules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","download_url":"https://codeload.github.com/jonschlinkert/yarn-global-modules/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252968118,"owners_count":21833251,"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":["config","directory","global","globally","installed","javascript","modules","node","nodejs","npm","packages","path","prefix","yarn"],"created_at":"2024-10-03T18:04:23.547Z","updated_at":"2025-05-07T23:08:27.199Z","avatar_url":"https://github.com/jonschlinkert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yarn-global-modules [![NPM version](https://img.shields.io/npm/v/yarn-global-modules.svg?style=flat)](https://www.npmjs.com/package/yarn-global-modules) [![NPM monthly downloads](https://img.shields.io/npm/dm/yarn-global-modules.svg?style=flat)](https://npmjs.org/package/yarn-global-modules) [![NPM total downloads](https://img.shields.io/npm/dt/yarn-global-modules.svg?style=flat)](https://npmjs.org/package/yarn-global-modules) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/yarn-global-modules.svg?style=flat\u0026label=Travis)](https://travis-ci.org/jonschlinkert/yarn-global-modules)\n\n\u003e Get the absolute path to the yarn global modules directory (globally installed modules).\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save yarn-global-modules\n```\n\n## Usage\n\nPath varies by platform.\n\n```js\nconst yarnModules = require('yarn-global-modules');\n\nconsole.log(yarnModules());\n//=\u003e '/Users/jonschlinkert/.config/yarn/global'\n```\n\n## About\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eContributing\u003c/strong\u003e\u003c/summary\u003e\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\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eRunning Tests\u003c/strong\u003e\u003c/summary\u003e\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\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eBuilding docs\u003c/strong\u003e\u003c/summary\u003e\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\u003c/details\u003e\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [global-modules](https://www.npmjs.com/package/global-modules): The directory used by npm for globally installed npm modules. | [homepage](https://github.com/jonschlinkert/global-modules \"The directory used by npm for globally installed npm modules.\")\n* [global-prefix](https://www.npmjs.com/package/global-prefix): Get the npm global path prefix. | [homepage](https://github.com/jonschlinkert/global-prefix \"Get the npm global path prefix.\")\n* [yarn-config-directory](https://www.npmjs.com/package/yarn-config-directory): Get the absolute path to the global yarn config directory. | [homepage](https://github.com/jonschlinkert/yarn-config-directory \"Get the absolute path to the global yarn config directory.\")\n* [yarn-global-links](https://www.npmjs.com/package/yarn-global-links): Get the absolute path to the yarn global links directory (globally symlinked modules). | [homepage](https://github.com/jonschlinkert/yarn-global-links \"Get the absolute path to the yarn global links directory (globally symlinked modules).\")\n\n### Author\n\n**Jon Schlinkert**\n\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2018, [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 March 21, 2018._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonschlinkert%2Fyarn-global-modules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonschlinkert%2Fyarn-global-modules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonschlinkert%2Fyarn-global-modules/lists"}