You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

module-name-from-path

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

module-name-from-path - npm Package Compare versions

Comparing version
1.0.2
to
1.0.3
+3
-3
package.json
{
"name": "module-name-from-path",
"version": "1.0.2",
"version": "1.0.3",
"description": "Extract the Node.js module name given an abosulte path to a file inside the module",

@@ -33,5 +33,5 @@ "main": "index.js",

"coordinates": [
55.6666265,
12.5798547
55.6666196,
12.5800046
]
}

@@ -18,3 +18,3 @@ # module-name-from-path

```js
var assert = reqire('assert')
var assert = require('assert')
var parse = require('module-name-from-path')

@@ -21,0 +21,0 @@