initial commit

This commit is contained in:
2026-03-22 03:21:45 +02:00
commit 897fea9f4e
15431 changed files with 2548840 additions and 0 deletions

56
node_modules/normalize-path/README.md generated vendored Normal file
View File

@@ -0,0 +1,56 @@
# normalize-path [![NPM version](https://badge.fury.io/js/normalize-path.svg)](http://badge.fury.io/js/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.
## Install with [npm](npmjs.org)
```bash
npm i normalize-path --save
```
## Usage
```js
var normalize = require('normalize-path');
normalize('\\foo\\bar\\baz\\');
//=> '/foo/bar/baz'
normalize('./foo/bar/baz/');
//=> './foo/bar/baz'
```
Pass `false` as the last argument to **not** strip trailing slashes:
```js
normalize('./foo/bar/baz/', false);
//=> './foo/bar/baz/'
normalize('foo\\bar\\baz\\', false);
//=> 'foo/bar/baz/'
```
## Run tests
```bash
npm i -d && npm test
```
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/normalize-path/issues).
## Author
**Jon Schlinkert**
+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
## License
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
***
_This file was generated by [verb](https://github.com/assemble/verb) on January 23, 2015._

17
node_modules/normalize-path/index.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
/*!
* normalize-path <https://github.com/jonschlinkert/normalize-path>
*
* Copyright (c) 2014-2015, Jon Schlinkert.
* Licensed under the MIT License
*/
module.exports = function(fp, stripTrailing) {
fp = fp.replace(/[\\\/]+/g, '/');
if (stripTrailing === false) {
return fp;
}
return fp.slice(-1) === '/'
? fp.slice(0, fp.length -1)
: fp;
};

44
node_modules/normalize-path/package.json generated vendored Normal file
View File

@@ -0,0 +1,44 @@
{
"name": "normalize-path",
"description": "Normalize file path slashes to be unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes.",
"version": "1.0.0",
"homepage": "https://github.com/jonschlinkert/normalize-path",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"repository": {
"type": "git",
"url": "git://github.com/jonschlinkert/normalize-path.git"
},
"bugs": {
"url": "https://github.com/jonschlinkert/normalize-path/issues"
},
"license": {
"type": "MIT",
"url": "https://github.com/jonschlinkert/normalize-path/blob/master/LICENSE-MIT"
},
"files": ["index.js"],
"main": "index.js",
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "mocha -R spec"
},
"devDependencies": {
"benchmarked": "^0.1.1",
"mocha": "*"
},
"keywords": [
"file",
"filepath",
"fp",
"normalize",
"path",
"slash",
"slashes",
"trailing",
"unix"
]
}