Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.d.ts 621B

12345678910111213141516171819202122232425
  1. /**
  2. Convert Windows backslash paths to slash paths: `foo\\bar` ➔ `foo/bar`.
  3. [Forward-slash paths can be used in Windows](http://superuser.com/a/176395/6877) as long as they're not extended-length paths and don't contain any non-ascii characters.
  4. @param path - A Windows backslash path.
  5. @returns A path with forward slashes.
  6. @example
  7. ```
  8. import * as path from 'path';
  9. import slash = require('slash');
  10. const string = path.join('foo', 'bar');
  11. // Unix => foo/bar
  12. // Windows => foo\\bar
  13. slash(string);
  14. // Unix => foo/bar
  15. // Windows => foo/bar
  16. ```
  17. */
  18. declare function slash(path: string): string;
  19. export = slash;