closest-root
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "closest-root", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Allows the user to locate the root directory, of a Node application set up using npm, from a specified directory by traversing upwards until the root is located.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,3 +28,3 @@ # closest-root | ||
```javascript | ||
let rootDirectory = require('closest-root')(__dirname) | ||
const rootDirectory = require('closest-root')(__dirname) | ||
@@ -31,0 +31,0 @@ /* This will output the closest root directory from the current file, as |
3517