How to use the slash.default function in slash

To help you get started, we’ve selected a few slash examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github react-cosmos / react-cosmos / packages / react-cosmos-shared / src / server / slash-path.js View on Github external
export function slash(...paths: string[]) {
  return paths.length > 1 ? _slash(join(...paths)) : _slash(paths[0]);
}

slash

Convert Windows backslash paths to slash paths

MIT
Latest version published 2 years ago

Package Health Score

70 / 100
Full package analysis

Popular slash functions