chai-posix-path
v2.0.0
Published
Checks whether a string path matches a posix path
Downloads
29
Maintainers
Readme
chai-posix-path
Checks whether a string path matches a posix path
Usage
Simple
import chaiPosixPath from 'chai-posix-path';
chai.use(chaiPosixPath);
'foo\\bar'.should.be.posixPath('foo/bar'); // Passes
'foo/bar'.should.be.posixPath('foo/bar'); // Passes