UNPKG
pysearch-algorithms
Version:
latest (1.0.0)
1.0.0
python prgram
github.com/Shubham0202/NPM-test
Shubham0202/NPM-test
pysearch-algorithms
/
index.js
10 lines
(7 loc)
•
246 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
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 };