from-cwd
Advanced tools
Comparing version 1.0.1 to 1.1.0
export default function fromCWD (...paths: string[]): string; | ||
export function fromCWD (...paths: string[]): string; |
@@ -43,1 +43,2 @@ 'use strict'; | ||
module.exports = fromCWD; | ||
module.exports.fromCWD = fromCWD; |
{ | ||
"name": "from-cwd", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Resolve path from CWD (Current Working Directory)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -20,2 +20,4 @@ # from-cwd | ||
const fromCWD = require('from-cwd'); | ||
// or | ||
const { fromCWD } = require('from-cwd'); | ||
@@ -22,0 +24,0 @@ const resolvedPath1 = fromCWD('my-folder/my.file'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
36
28
3863