node-spotlight
Search macOS using Spotlight.
Installing
npm install node-spotlight
Usage
const spotlight =
path: '/Users/j/Downloads/bvg/bvg-wlan.pdf' kMDItemAuthors: 'BVG VBA-FGI Kartographie' kMDItemContentType: 'com.adobe.pdf' kMDItemFSInvisible: false kMDItemKind: 'Portable Document Format (PDF)' kMDItemNumberOfPages: 1 kMDItemTitle: 'S+U-Bahn_2901_2016_18-10_WLAN' kMDItemUseCount: 15 kMDItemVersion: '1.6'
Contributing
If you have a question, found a bug or want to propose a feature, have a look at the issues page.