Get the absolute path to the global yarn config directory.
Get the absolute path to the global yarn config directory.
Please consider following this project’s author, Jon Schlinkert, and consider starring the project to show your and support.
Install with npm:
$ npm install --save yarn-config-directory
Path varies by platform.
const yarnConfig = require('yarn-config-directory');
console.log(yarnConfig());
//=> '/Users/jonschlinkert/.config/yarn'
sh
$ npm install && npm test
sh
$ npm install -g verbose/verb#dev verb-generate-readme && verb
Jon Schlinkert
Copyright © 2018, Jon Schlinkert.
Released under the MIT License.
This file was generated by verb-generate-readme, v0.6.0, on March 21, 2018.