Syllabus/themes/piratecare/node_modules/caller-path/index.js

5 lines
121 B
JavaScript

'use strict';
const callerCallsite = require('caller-callsite');
module.exports = () => callerCallsite().getFileName();