Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112131415 |
- 'use strict';
-
- const path = require('path');
-
- function isNodeModules(directory) {
- let basename = path.basename(directory);
- /* istanbul ignore next: platform specific branch */
- if (path.sep === '\\') {
- basename = basename.toLowerCase();
- }
-
- return basename === 'node_modules';
- }
-
- module.exports = isNodeModules;
|