Rocky_Mountain_Vending/.pnpm-store/v10/files/c6/8fe592ea146ab20c16ed625dc0b36f3ff2a6a0bef398bf92229143dcc0a7c59b5a0866331c407b47064421daaf18749c798c34b64e029a5fe96ebce5e67be4
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

32 lines
785 B
Text

# module-details-from-path
Resolve npm package details, like name and base path, given an absolute path to a file inside a package.
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
## Installation
```
npm install module-details-from-path --save
```
## Usage
```js
const assert = require('assert')
const parse = require('module-details-from-path')
const path = '/Users/watson/code/node_modules/blackjack/node_modules/picture-tube/bin/tube.js'
assert.deepStrictEqual(parse(path), {
name: 'picture-tube',
basedir: '/Users/watson/code/node_modules/blackjack/node_modules/picture-tube',
path: 'bin/tube.js'
})
```
Returns `undefined` if module details cannot be found.
## License
MIT