chai-posix-path
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

chai-posix-path

Checks whether a string path matches a posix path

npm version npm downloads js-semistandard-style Module type: ESM Types in JS Follow @voxpelli@mastodon.social

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

See also

Dependencies (0)

    Dev Dependencies (23)

    Package Sidebar

    Install

    npm i chai-posix-path

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    5.87 kB

    Total Files

    9

    Last publish

    Collaborators

    • voxpelli