{"_id":"unixify","_rev":"8-7198f2239774d7af79b367882dfc9e0f","name":"unixify","description":"Convert Windows file paths to unix paths.","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"unixify","description":"Convert Windows file paths to Unix-like paths (`/`)","version":"0.1.0","homepage":"https://github.com/jonschlinkert/unixify","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/unixify.git"},"bugs":{"url":"https://github.com/jonschlinkert/unixify/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/unixify/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["directory","file","filepath","fix","fs","path","slash","unix","windows"],"_id":"unixify@0.1.0","_shasum":"2fdd8ce252e1a7ff087e577015b7f610dc7853ec","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"2fdd8ce252e1a7ff087e577015b7f610dc7853ec","tarball":"https://registry.npmjs.org/unixify/-/unixify-0.1.0.tgz","integrity":"sha512-Dhoa+ltSpY8TAQGenkOHb98YRQLTnXIhY4cx7Qy64RT30GQbVDCTuvdeNCFfHeAhbfjIBSAsus0h5JiBCl6wDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLeTcms3vQEQLiel2hudXy6WUmmo4raqx/6L01HSU2IgIgKuqpIAFSBCmJLjEFUIAEpDrCGh455fV0yMGR+24Hpcw="}]}},"0.2.1":{"name":"unixify","description":"Convert Windows file paths to unix paths.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/unixify","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/unixify.git"},"bugs":{"url":"https://github.com/jonschlinkert/unixify/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"normalize-path":"^2.0.0"},"devDependencies":{"mocha":"*"},"keywords":["backslash","directory","file","filepath","fix","forward","fp","fs","normalize","path","slash","slashes","trailing","unix","urix","windows"],"verb":{"related":{"description":"Other useful libraries for working with paths in node.js:","list":["contains-path","ends-with","is-absolute","is-relative","normalize-path","parse-filepath","path-ends-with","path-segments","rewrite-ext"]}},"gitHead":"0bf22bf98dbf4c0b559bb18563ec38b1a0bbf0a6","_id":"unixify@0.2.1","_shasum":"4864303c26eccae1160d91d046f65473f022bedc","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"4864303c26eccae1160d91d046f65473f022bedc","tarball":"https://registry.npmjs.org/unixify/-/unixify-0.2.1.tgz","integrity":"sha512-8G2xNpCKWkMqVjQ08lcuUX2S7j38c3qFj70VmpG4gqV+/L0syjgii9F/Ebn62MbzLi89T5vjWNiHzs3LF5n0RA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoP9AmVkgaXox0j2N5d3yK+kWVrJXFSlt5Gl8wdhlinQIgDjKghv2kTP4thQvQ/CP8wR0agI7SBo3YG1ET9C0C5og="}]}},"1.0.0":{"name":"unixify","description":"Convert Windows file paths to unix paths.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/unixify","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/unixify.git"},"bugs":{"url":"https://github.com/jonschlinkert/unixify/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"normalize-path":"^2.1.1"},"devDependencies":{"gulp-format-md":"^0.1.12","mocha":"^3.2.0"},"keywords":["backslash","directory","file","filepath","fix","forward","fp","fs","normalize","path","slash","slashes","trailing","unix","unixify","urix","windows"],"verb":{"related":{"description":"Other useful libraries for working with paths in node.js:","list":["contains-path","ends-with","is-absolute","normalize-path","path-ends-with"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"ed571f70916a17627aa5b4e70c2698c9b7db2d55","_id":"unixify@1.0.0","_shasum":"3a641c8c2ffbce4da683a5c70f03a462940c2090","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"3a641c8c2ffbce4da683a5c70f03a462940c2090","tarball":"https://registry.npmjs.org/unixify/-/unixify-1.0.0.tgz","integrity":"sha512-6bc58dPYhCMHHuwxldQxO3RRNZ4eCogZ/st++0+fcC1nr0jiGUtAdBJ2qzmLQWSxbtz42pWt4QQMiZ9HvZf5cg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGEbRSbYzgtB4GeBQ0p7hs5tsaNML9R8u2ySl/PSs4QAiEAx+jSPME+psPFgilUFpiJRrdH5JG6zX9I4gcQQhEveDY="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/unixify-1.0.0.tgz_1492217057557_0.7807762280572206"}}},"readme":"# unixify [![NPM version](https://img.shields.io/npm/v/unixify.svg?style=flat)](https://www.npmjs.com/package/unixify) [![NPM monthly downloads](https://img.shields.io/npm/dm/unixify.svg?style=flat)](https://npmjs.org/package/unixify) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/unixify.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/unixify)\n\n> Convert Windows file paths to unix paths.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save unixify\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add unixify\n```\n\n## Usage\n\n```js\nvar unixify = require('unixify');\nunixify(filepath[, stripTrailingSlash]);\n```\n\n**Strips leading drive letters and dot-slash (`./`)**\n\n```js\nunixify('.\\\\one\\\\two\\\\three');  //=> 'one/two/three'\nunixify('./one/two/three');     //=> 'one/two/three'\nunixify('C:\\\\one\\\\two\\\\three'); //=> '/one/two/three'\nunixify('\\\\one\\\\two\\\\three');   //=> '/one/two/three'\n```\n\n**Normalizes path separators to forward slashes**\n\n```js\nunixify('one\\\\two\\\\three');      //=> 'one/two/three'\nunixify('\\\\one\\\\two\\\\three');    //=> '/one/two/three'\nunixify('C:\\\\one\\\\two\\\\three');  //=> '/one/two/three'\n```\n\n**Combines multiple consecutive slashes**\n\n```js\nunixify('one//two//////three'),     //=> 'one/two/three'\nunixify('\\\\one\\\\two\\\\//three');     //=> '/one/two/three'\nunixify('C:\\\\//one\\\\two\\\\//three'); //=> '/one/two/three'\n```\n\n**Strips trailing slashes by default**\n\n```js\nunixify('one//two//////three//'), //=> 'one/two/three'\nunixify('C:\\\\one\\\\two\\\\three\\\\'); //=> '/one/two/three'\n```\n\n**Keep trailing slashes**\n\nBy passing `false` as the second argument\n\n```js\nunixify('one//two//////three//'), //=> 'one/two/three/'\nunixify('C:\\\\one\\\\two\\\\three\\\\'); //=> '/one/two/three/'\n```\n\n## About\n\n### Related projects\n\n* [contains-path](https://www.npmjs.com/package/contains-path): Return true if a file path contains the given path. | [homepage](https://github.com/jonschlinkert/contains-path \"Return true if a file path contains the given path.\")\n* [ends-with](https://www.npmjs.com/package/ends-with): Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for… [more](https://github.com/jonschlinkert/ends-with) | [homepage](https://github.com/jonschlinkert/ends-with \"Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for comparisons.\")\n* [is-absolute](https://www.npmjs.com/package/is-absolute): Polyfill for node.js `path.isAbolute`. Returns true if a file path is absolute. | [homepage](https://github.com/jonschlinkert/is-absolute \"Polyfill for node.js `path.isAbolute`. Returns true if a file path is absolute.\")\n* [normalize-path](https://www.npmjs.com/package/normalize-path): Normalize file path slashes to be unix-like forward slashes. Also condenses repeat slashes to a… [more](https://github.com/jonschlinkert/normalize-path) | [homepage](https://github.com/jonschlinkert/normalize-path \"Normalize file path slashes to be unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes unless disabled.\")\n* [path-ends-with](https://www.npmjs.com/package/path-ends-with): Return `true` if a file path ends with the given string/suffix. | [homepage](https://github.com/jonschlinkert/path-ends-with \"Return `true` if a file path ends with the given string/suffix.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.5.0, on April 14, 2017._","maintainers":[{"email":"brian.woodward@gmail.com","name":"doowb"},{"email":"github@sellside.com","name":"jonschlinkert"}],"time":{"modified":"2022-06-28T05:06:56.935Z","created":"2014-12-23T00:05:18.843Z","0.1.0":"2014-12-23T00:05:18.843Z","0.2.1":"2015-10-04T06:41:52.194Z","1.0.0":"2017-04-15T00:44:18.348Z"},"homepage":"https://github.com/jonschlinkert/unixify","keywords":["backslash","directory","file","filepath","fix","forward","fp","fs","normalize","path","slash","slashes","trailing","unix","unixify","urix","windows"],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/unixify.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/unixify/issues"},"license":"MIT","readmeFilename":"README.md"}