Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

fs in angular

import * as fs from 'fs';
import * as path from 'path';
fs.readFile(path.join(__dirname, '../../client/index.html'), 'utf8', (error, data) => {
        // ...
    })
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fs #angular
ADD COMMENT
Topic
Name
4+9 =