Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

halvardssm/deno-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI (Deno)

Deno Path

A path resolver for deno. Will allow you to pass an array of paths to return one string containing the final path.

Usage

import { resolve } from 'https://raw.githubusercontent.com/halvardssm/deno-path/master/mod.ts';

const path = resolve('a', './b', '/c', '../d', 'e/../f')

console.log(path)
// d/f

Contributing

Feel free to make pr's or create an issue!