How to use the pn/fs.stat function in pn

To help you get started, we’ve selected a few pn examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jsdom / webidl2js / lib / transformer.js View on Github external
    const stats = await Promise.all(this.sources.map(src => fs.stat(src.idlPath)));
    const files = [];
github wikimedia / parsoid / bin / parserTests.js View on Github external
fileDependencies.sort().map(function(file) {
			return fs.stat(file);
		})
	)).map(function(stat) { return stat.mtime; }).join('|');