It appears you have a well-structured Git repository with various files, including SVG icons and HTML documents. Here's a brief overview:
This commit is contained in:
23
backend/node_modules/redent/index.d.ts
generated
vendored
Normal file
23
backend/node_modules/redent/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
import {Options} from 'indent-string';
|
||||
|
||||
/**
|
||||
[Strip redundant indentation](https://github.com/sindresorhus/strip-indent) and [indent the string](https://github.com/sindresorhus/indent-string).
|
||||
|
||||
@param string - The string to normalize indentation.
|
||||
@param count - How many times you want `options.indent` repeated. Default: `0`.
|
||||
|
||||
@example
|
||||
```
|
||||
import redent from 'redent';
|
||||
|
||||
redent('\n foo\n bar\n', 1);
|
||||
//=> '\n foo\n bar\n'
|
||||
```
|
||||
*/
|
||||
export default function redent(
|
||||
string: string,
|
||||
count?: number,
|
||||
options?: Options
|
||||
): string;
|
||||
|
||||
export {Options};
|
6
backend/node_modules/redent/index.js
generated
vendored
Normal file
6
backend/node_modules/redent/index.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import stripIndent from 'strip-indent';
|
||||
import indentString from 'indent-string';
|
||||
|
||||
export default function redent(string, count = 0, options = {}) {
|
||||
return indentString(stripIndent(string), count, options);
|
||||
}
|
9
backend/node_modules/redent/license
generated
vendored
Normal file
9
backend/node_modules/redent/license
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
47
backend/node_modules/redent/package.json
generated
vendored
Normal file
47
backend/node_modules/redent/package.json
generated
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"name": "redent",
|
||||
"version": "4.0.0",
|
||||
"description": "Strip redundant indentation and indent the string",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/redent",
|
||||
"funding": "https://github.com/sponsors/sindresorhus",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "https://sindresorhus.com"
|
||||
},
|
||||
"type": "module",
|
||||
"exports": "./index.js",
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava && tsd"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
],
|
||||
"keywords": [
|
||||
"string",
|
||||
"strip",
|
||||
"trim",
|
||||
"indent",
|
||||
"indentation",
|
||||
"add",
|
||||
"reindent",
|
||||
"normalize",
|
||||
"remove",
|
||||
"whitespace",
|
||||
"space"
|
||||
],
|
||||
"dependencies": {
|
||||
"indent-string": "^5.0.0",
|
||||
"strip-indent": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"ava": "^3.15.0",
|
||||
"tsd": "^0.14.0",
|
||||
"xo": "^0.39.1"
|
||||
}
|
||||
}
|
65
backend/node_modules/redent/readme.md
generated
vendored
Normal file
65
backend/node_modules/redent/readme.md
generated
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
# redent
|
||||
|
||||
> [Strip redundant indentation](https://github.com/sindresorhus/strip-indent) and [indent the string](https://github.com/sindresorhus/indent-string)
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install redent
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import redent from 'redent';
|
||||
|
||||
redent('\n foo\n bar\n', 1);
|
||||
//=> '\n foo\n bar\n'
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### redent(string, count?, options?)
|
||||
|
||||
#### string
|
||||
|
||||
Type: `string`
|
||||
|
||||
The string to normalize indentation.
|
||||
|
||||
#### count
|
||||
|
||||
Type: `number`\
|
||||
Default: `0`
|
||||
|
||||
How many times you want `options.indent` repeated.
|
||||
|
||||
#### options
|
||||
|
||||
Type: `object`
|
||||
|
||||
##### indent
|
||||
|
||||
Type: `string`\
|
||||
Default: `' '`
|
||||
|
||||
The string to use for the indent.
|
||||
|
||||
##### includeEmptyLines
|
||||
|
||||
Type: `boolean`\
|
||||
Default: `false`
|
||||
|
||||
Also indent empty lines.
|
||||
|
||||
---
|
||||
|
||||
<div align="center">
|
||||
<b>
|
||||
<a href="https://tidelift.com/subscription/pkg/npm-redent?utm_source=npm-redent&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
||||
</b>
|
||||
<br>
|
||||
<sub>
|
||||
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
||||
</sub>
|
||||
</div>
|
Reference in New Issue
Block a user