Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

urix

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Issues
File Explorer

Advanced tools

urix

Makes Windows-style paths more unix and URI friendly.

    0.1.0latest

Version published
Maintainers
1
Weekly downloads
19,351,599
increased by1.35%

Weekly downloads

Readme

Source

Build Status

Overview

Makes Windows-style paths more unix and URI friendly. Useful if you work with paths that eventually will be used in URLs.

var urix = require("urix") // On Windows: urix("c:\\users\\you\\foo") // /users/you/foo // On unix-like systems: urix("c:\\users\\you\\foo") // c:\users\you\foo

Installation

npm install urix

var urix = require("urix")

Usage

urix(path)

On Windows, replaces all backslashes with slashes and uses a slash instead of a drive letter and a colon for absolute paths.

On unix-like systems it is a no-op.

License

The X11 (“MIT”) License.

Keywords

FAQs

What is urix?

Makes Windows-style paths more unix and URI friendly.

Is urix popular?

The npm package urix receives a total of 18,345,927 weekly downloads. As such, urix popularity was classified as popular.

Is urix well maintained?

We found that urix demonstrated a not healthy version release cadence and project activity. It has 1 open source maintainer collaborating on the project.

Last updated on 01 Mar 2014
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc