![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
$ npm install --save find-file
const getFiles = require('find-file');
const mdfiles = getFiles(["./filelists",'md',true]);
//Then you will get all markdown files
(1)source
The first paramter is source folder to search file with special suffix. It can be an array or an object. When it is an object ,we will only care about value of object while key is omitted!
(2)suffix
To search file with this suffix, such as "md" or "js/jsx"
and so on.
(3)isObject
When this one is set true, then we will get something like bellow with file structure of this:
{ filelists:
{ hello: 'filelists/hello.md',
index: 'filelists/index.md',
md:
{ fol: {
index: 'filelists/md/fol/index.md'
},
index: 'filelists/md/index.md'
}
}
}
When this paramter is false, we will get something like that:
[ 'filelists/hello.md',
'filelists/index.md',
'filelists/md/fol/index.md',
'filelists/md/index.md',
]
FAQs
Find files with special suffix in one or many folders
The npm package grob-files receives a total of 0 weekly downloads. As such, grob-files popularity was classified as not popular.
We found that grob-files demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.