Security update for permissions_by_term
[yaffs-website] / node_modules / global-modules / index.js
1 /*!
2  * global-modules <https://github.com/jonschlinkert/global-modules>
3  *
4  * Copyright (c) 2015 Jon Schlinkert.
5  * Licensed under the MIT license.
6  */
7
8 'use strict';
9
10 var path = require('path');
11 var prefix = require('global-prefix');
12 var isWindows = require('is-windows');
13
14 if (isWindows()) {
15   module.exports = path.resolve(prefix, 'node_modules');
16 } else {
17   module.exports = path.resolve(prefix, 'lib/node_modules');
18 }