UNPKG

pnpm

Version:

Fast, disk space efficient package manager

91 lines (90 loc) 3.02 kB
{ "_args": [ [ { "raw": "urix@^0.1.0", "scope": null, "escapedName": "urix", "name": "urix", "rawSpec": "^0.1.0", "spec": ">=0.1.0 <0.2.0", "type": "range" }, "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/source-map-resolve" ] ], "_from": "urix@>=0.1.0 <0.2.0", "_id": "urix@0.1.0", "_inCache": true, "_location": "/urix", "_npmUser": { "name": "lydell", "email": "simon.lydell@gmail.com" }, "_npmVersion": "1.4.4", "_phantomChildren": {}, "_requested": { "raw": "urix@^0.1.0", "scope": null, "escapedName": "urix", "name": "urix", "rawSpec": "^0.1.0", "spec": ">=0.1.0 <0.2.0", "type": "range" }, "_requiredBy": [ "/source-map-resolve" ], "_resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", "_shasum": "da937f7a62e21fec1fd18d49b35c2935067a6c72", "_shrinkwrap": null, "_spec": "urix@^0.1.0", "_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/source-map-resolve", "author": { "name": "Simon Lydell" }, "bugs": { "url": "https://github.com/lydell/urix/issues" }, "dependencies": {}, "description": "Makes Windows-style paths more unix and URI friendly.", "devDependencies": { "jshint": "^2.4.4", "mocha": "^1.17.1" }, "directories": {}, "dist": { "shasum": "da937f7a62e21fec1fd18d49b35c2935067a6c72", "tarball": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz" }, "homepage": "https://github.com/lydell/urix#readme", "keywords": [ "path", "url", "uri", "unix", "windows", "backslash", "slash" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "lydell", "email": "simon.lydell@gmail.com" } ], "name": "urix", "optionalDependencies": {}, "readme": "[![Build Status](https://travis-ci.org/lydell/urix.png?branch=master)](https://travis-ci.org/lydell/urix)\r\n\r\nOverview\r\n========\r\n\r\nMakes Windows-style paths more unix and URI friendly. Useful if you work with\r\npaths that eventually will be used in URLs.\r\n\r\n```js\r\nvar urix = require(\"urix\")\r\n\r\n// On Windows:\r\nurix(\"c:\\\\users\\\\you\\\\foo\")\r\n// /users/you/foo\r\n\r\n// On unix-like systems:\r\nurix(\"c:\\\\users\\\\you\\\\foo\")\r\n// c:\\users\\you\\foo\r\n```\r\n\r\n\r\nInstallation\r\n============\r\n\r\n`npm install urix`\r\n\r\n```js\r\nvar urix = require(\"urix\")\r\n```\r\n\r\n\r\nUsage\r\n=====\r\n\r\n### `urix(path)` ###\r\n\r\nOn Windows, replaces all backslashes with slashes and uses a slash instead of a\r\ndrive letter and a colon for absolute paths.\r\n\r\nOn unix-like systems it is a no-op.\r\n\r\n\r\nLicense\r\n=======\r\n\r\n[The X11 (“MIT”) License](LICENSE).\r\n", "readmeFilename": "readme.md", "repository": { "type": "git", "url": "git+https://github.com/lydell/urix.git" }, "scripts": { "test": "jshint index.js test/ && mocha" }, "version": "0.1.0" }