UNPKG

@onereach/orest-input-cli

Version:

The tool for creating, serving, and publishing OREST Inputs

11 lines (7 loc) 240 B
const path = require('path'); const META_FILE_NAME = 'package.json'; function getMeta(relDirPath = '') { const filePath = path.resolve(process.cwd(), relDirPath, META_FILE_NAME); return require(filePath); } module.exports = getMeta;