UNPKG

pysearch-algorithms

Version:
10 lines (7 loc) 246 B
const fs = require('fs'); const path = require('path'); function getFileContent() { const filePath = path.join(__dirname, 'test.py'); return JSON.parse(fs.readFileSync(filePath, 'utf8')); } module.exports = { getFileContent };