bin/post-install.js
function read(filePath, options){
	return new Promise((resolve, reject) => {
		fs.readFile(filePath, options, (error, data) => {
			error
				? reject(error)
				: resolve(data.toString());
		});
	});
}
function read(filePath, options){
	return new Promise((resolve, reject) => {
		fs.readFile(filePath, options, (error, data) => {
			error
				? reject(error)
				: resolve(data.toString());
		});
	});
}
function read ( filePath , options ) { return new Promise ( ( resolve , reject ) => { fs . readFile ( filePath , options , ( error , data ) => { error ? reject ( error ) : resolve ( data . toString ( ) ) ; } ) ; } ) ; }
Promise-aware version of `fs.readFile`.

@param {String} filePath - File to read
@param {Object} [options] - Options passed to `fs.readFile`
@return {Promise} Resolves with stringified data.
@see {@link https://nodejs.org/api/fs.html#fs_fs_readfile_file_options_callback|`fs.readFile`}
Promise - aware version of fs . readFile .