Skip to content

rogerbf/lsregister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lsregister

Interact with Launch Services database.

npm install lsregister

Install globally to use lsregister-json.

Usage

const lsregister = require('lsregister')

lsregister.dump()
  .then(data => console.log(data[2380]))
  .catch(err => console.error(err))

// { claimId: '41148',
//   name: 'Tar Archive',
//   rank: 'Default',
//   reqCaps: '',
//   roles: 'Viewer',
//   flags: 'relative-icon-path  doc-type',
//   icon: 'Contents/Resources/archive.icns',
//   bindings: 'public.tar-archive' }

About

interact with Launch Services database

Resources

Stars

Watchers

Forks

Packages

No packages published