1const { exists } = require("fs");
2var fs = require( 'fs' ),
3 path = require( 'path' ),
4 expect = require( 'expect' ),
5
6 exists(path.join(__dirname, "\\node_modules\\.bin\\"), (e) => {
7 console.log(e ? "\\node_modules\\.bin\\ exists" : "\nInstall missing packages\n");
8 });