Usage Path varies by platform. const yarnLinks = require('{%= name %}'); console.log(yarnLinks()); //=> /Users/jonschlinkert/.config/yarn/links