-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e437385
commit 9d56702
Showing
175 changed files
with
1,807 additions
and
1,453 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-string](./alfa-string.md) | ||
|
||
## alfa-string package | ||
|
||
## Namespaces | ||
|
||
| Namespace | Description | | ||
| --- | --- | | ||
| [String\_2](./alfa-string.string_2.md) | | | ||
|
||
## Type Aliases | ||
|
||
| Type Alias | Description | | ||
| --- | --- | | ||
| [String\_2](./alfa-string.string_2.md) | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-string](./alfa-string.md) > [String\_2](./alfa-string.string_2.md) > [flatten](./alfa-string.string_2.flatten.md) | ||
|
||
## String\_2.flatten() function | ||
|
||
Collapses adjacent whitespace into a single ASCII space | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
function flatten(input: string): string; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| input | string | | | ||
|
||
**Returns:** | ||
|
||
string | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-string](./alfa-string.md) > [String\_2](./alfa-string.string_2.md) > [indent](./alfa-string.string_2.indent.md) | ||
|
||
## String\_2.indent() function | ||
|
||
Adds two spaces at the start of each line. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
function indent(input: string): string; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| input | string | | | ||
|
||
**Returns:** | ||
|
||
string | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-string](./alfa-string.md) > [String\_2](./alfa-string.string_2.md) > [isWhitespace](./alfa-string.string_2.iswhitespace.md) | ||
|
||
## String\_2.isWhitespace() function | ||
|
||
Checks whether the input contains only whitespace | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
function isWhitespace(input: string, allowEmpty?: boolean): boolean; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| input | string | | | ||
| allowEmpty | boolean | _(Optional)_ | | ||
|
||
**Returns:** | ||
|
||
boolean | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-string](./alfa-string.md) > [String\_2](./alfa-string.string_2.md) | ||
|
||
## String\_2 type | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export type String = globalThis.String; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-string](./alfa-string.md) > [String\_2](./alfa-string.string_2.md) > [normalize](./alfa-string.string_2.normalize.md) | ||
|
||
## String\_2.normalize() function | ||
|
||
Trims, collapses adjacent whitespace into a single ASCII space, optionally lowercases (default: true). | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
function normalize(input: string, toLowerCase?: boolean): string; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| input | string | | | ||
| toLowerCase | boolean | _(Optional)_ | | ||
|
||
**Returns:** | ||
|
||
string | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# @siteimprove/alfa-act | ||
|
||
## 0.74.0 | ||
|
||
## 0.73.0 | ||
|
||
## 0.72.0 | ||
|
Oops, something went wrong.