UNPKG

@graphless/cli

Version:

Graphless CLI - GraphQL Framework for serverless

12 lines (10 loc) 235 B
const fs = require('fs'); const path = require('path'); module.exports = { getCurrentDirectoryBase: () => { return path.basename(process.cwd()); }, directoryExists: (filePath) => { return fs.existsSync(filePath); } };