REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 890 B
Close
/opt/alt/alt-nodejs11/root/lib/node_modules/npm/node_modules/slash/readme.md
Text
Base64
# slash [](https://travis-ci.org/sindresorhus/slash) > Convert Windows backslash paths to slash paths: `foo\\bar` ➔ `foo/bar` [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. This was created since the `path` methods in Node outputs `\\` paths on Windows. ## Install ```sh $ npm install --save slash ``` ## Usage ```js var path = require('path'); var slash = require('slash'); var str = path.join('foo', 'bar'); // Unix => foo/bar // Windows => foo\\bar slash(str); // Unix => foo/bar // Windows => foo/bar ``` ## API ### slash(path) Type: `string` Accepts a Windows backslash path and returns a slash path. ## License MIT © [Sindre Sorhus](http://sindresorhus.com)
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
index.js
244 B
lrw-r--r--
2021-10-19 09:47:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
package.json
1.45 KB
lrw-r--r--
2021-10-19 09:47:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
readme.md
890 B
lrw-r--r--
2021-10-19 09:47:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).