0.0.4 • Published 4 years ago

simple-fake-path v0.0.4

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

Simple Fake Path

Mockable fake path module

Usages

// Example in TypeScript

import { FakePath, symCwd, symRoot } from 'simple-fake-path' // FakePath is an abstract class
class Path extends FakePath {
  public readonly [symCwd] = '/working/directory'
  public readonly [symRoot] = ['/']
  public readonly sep = '/'
}
const path = new Path() // you can access to some path methods from here

License

MIT © Hoàng Văn Khải

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago