UNPKG

serverless-offline-msk

Version:

A serverless offline plugin that enables AWS MSK events

11 lines (8 loc) 299 B
'use strict'; const path = require('path'); const filenamify = require('./filenamify'); const filenamifyPath = (filePath, options) => { filePath = path.resolve(filePath); return path.join(path.dirname(filePath), filenamify(path.basename(filePath), options)); }; module.exports = filenamifyPath;