Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

readfilesync return buffer

squadJSON = JSON.parse(fs.readFileSync('./squads/squad' + whichSquad + '.json', 'utf8')); 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #readfilesync #return #buffer
ADD COMMENT
Topic
Name
3+5 =