function isNotJunkimport { isNotJunk } from "https://dotland.deno.dev/x/scaffold@0.3.0/src/deps/path.ts"; isNotJunk(filename: string): booleanReturns true if filename does not match a junk file. Returns true if filename does not match a junk file. ExamplesExample 1 import fs from 'node:fs/promises'; import {isNotJunk} from 'junk'; const files = await fs.readdir('some/path'); console.log(files); //=> ['.DS_Store', 'test.jpg'] console.log(files.filter(isNotJunk)); //=> ['test.jpg'] Parametersfilename: stringReturnsboolean