resolve-import-path
v0.3.2
Published
> Obtain the path of the software packages you have installed, including your own software packages
Downloads
22
Maintainers
Readme
resolve-import-path
Obtain the path of the software packages you have installed, including your own software packages
import { resolveImport } from 'resolve-import-path'
resolveImport('react') // ...node_modules/react/dist/index.js
resolveImport('react/package.json') // ...node_modules/react/package.json
resolveImport('your-package-name/package.json') // ...package.json
Related
TODO