2.0.0 • Published 5 years ago

antipathy v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

antipathy

Build Status Coverage Status JavaScript Style Guide

Welcome to sane Node.js filesystem paths, inspired by Python's pathlib

Example

const p = new Path("/etc/")
p.push("apt.d/sources.list")
p.pop()
p.getAbsolute()       // => /etc/apt.d
p.getRelative("/etc") // => apt.d

See src/main.spec.ts for more examples.

Features

  • 0 dependencies (can even run on the browser!)
  • Written in TypeScript with complete type coverage
  • Advanced path resolution algorithms for maximum safety
2.0.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago