Skip to content

Commit 471e714

Browse files
committed
finished version 1.0
1 parent d7493ec commit 471e714

File tree

5 files changed

+20
-25
lines changed

5 files changed

+20
-25
lines changed

.npmignore

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
**/*.map
2-
index.ts
2+
.vscode/**
3+
docs/**
34
node_modules
4-
/pushall.sh
5-
/typedoc.cmd
6-
docs
5+
test/**/*.ts
6+
.gitignore
7+
index.ts
8+
pushall.sh
9+
tsconfig.json
10+
typedoc.cmd

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
* [Create a sequence](#create-a-sequence-)
1616
* [Work with them](#work-with-them-)
1717
* [Async operations](#async-operations-)
18-
4. [Examples](#examples-)
18+
4. [Playground / demos](#playground--demos-)
19+
5. [Examples](#examples-)
1920
* [Filters](#filters-)
2021
* [Sort elements](#sort-elements-)
2122
* [Take / skip elements](#take--skip-elements-)
@@ -33,9 +34,9 @@
3334
* [defaultIfEmpty / defaultSequenceIfEmpty](#concat--concatarray-)
3435
* [pushTo](#pushto-)
3536
* [reset](#reset-)
36-
5. [Documentation](#documentation-)
37-
6. [License](#license-)
38-
7. [Tests](#tests-)
37+
6. [Documentation](#documentation-)
38+
7. [License](#license-)
39+
8. [Tests](#tests-)
3940

4041
## Requirements [[↑](#table-of-contents)]
4142

@@ -223,6 +224,10 @@ seq.async((context) => {
223224

224225
The `context` argument of the `async()` method uses the [AsyncActionContext](https://mkloubert.github.io/node-enumerable/interfaces/_index_.enumerable.asyncactioncontext.html) interface.
225226

227+
## Playground / demos [[↑](#table-of-contents)]
228+
229+
You can test all features in [your browser](https://mkloubert.github.io/demos/node-enumerable/).
230+
226231
## Examples [[↑](#table-of-contents)]
227232

228233
### Filters [[↑](#examples-)]

demo/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<meta http-equiv="X-UA-Compatible" content="IE=edge">
3030
<meta name="viewport" content="width=device-width, initial-scale=1">
3131

32-
<title>node-enumeable Demos</title>
32+
<title>node-enumeable Playground</title>
3333

3434
<!-- Bootstrap -->
3535
<link href="css/bootstrap.min.css" rel="stylesheet">
@@ -150,7 +150,7 @@
150150
<nav class="navbar navbar-default navbar-fixed-top">
151151
<div class="container-fluid">
152152
<div class="navbar-header">
153-
<a class="navbar-brand" href="#">node-enumeable Demos</a>
153+
<a class="navbar-brand" href="https://github.com/mkloubert/node-enumerable" target="_blank">node-enumeable Playground</a>
154154
</div>
155155
</div>
156156
</nav>

index.d.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -722,14 +722,6 @@ declare namespace Enumerable {
722722
* @returns {T[]} The sequence as array.
723723
*/
724724
toArray(): T[];
725-
/**
726-
* Converts that sequence to a "buffered" sequence.
727-
*
728-
* @param {number} [chunkSize] The chunk size. Default: 1
729-
*
730-
* @returns {IEnumerable<T>} The new sequence.
731-
*/
732-
toBuffer(chunkSize?: number): IEnumerable<T>;
733725
/**
734726
* Converts that sequence to a lookup object.
735727
*
@@ -1032,12 +1024,6 @@ declare namespace Enumerable {
10321024
/** @inheritdoc */
10331025
toArray(): T[];
10341026
/** @inheritdoc */
1035-
toBuffer(chunkSize?: number): IEnumerable<T>;
1036-
/**
1037-
* @see toBuffer()
1038-
*/
1039-
protected toBufferInner(chunkSize: number): IterableIterator<T>;
1040-
/** @inheritdoc */
10411027
toLookup<TKey extends PropertyKey, U = any>(keySelector: Selector<T, TKey>, keyEqualityComparer?: EqualityComparer<TKey>): U;
10421028
/** @inheritdoc */
10431029
toObject<TResult = any, TKey extends PropertyKey = number>(keySelector?: (item: T, index: number) => TKey): TResult;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-enumerable",
3-
"version": "0.12.0",
3+
"version": "1.0.0",
44
"description": "ES6 ready LINQ features written in TypeScript",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)