Skip to content

Commit

Permalink
Complete all methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhduong committed Apr 26, 2018
1 parent 8541241 commit e6a4965
Show file tree
Hide file tree
Showing 18 changed files with 5,420 additions and 235 deletions.
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# 👴 eslinq
# 👴 linq-fns
.NET LINQ for Javascript, written by TypeScript.
- Provide `IQueryable<T>`, it's reusable, also variable and use `iterator list` for holding query and execute.
- Provide `Queryable<T>`, it's reusable, also variable and use `Iterator collection` for holding query and execute.
- Contains almost the original .NET and some extends methods.
- Support `Promise` like a input source.
- Support `Promise` like as a input source.
- All `APIs` like a Javascript native methods so easily, simply implementation.

### Basic example
Expand Down Expand Up @@ -126,30 +126,29 @@ asyncData.then(data => {
- [x] skipWhile
- [x] groupBy
- [x] distinct
- [ ] concat
- [ ] zip
- [ ] union
- [ ] intersect
- [ ] except
- [x] concat
- [x] zip
- [x] union
- [x] intersect
- [x] except
- [x] first : `Promise<T>`
- [x] firstOrDefault : `Promise<T | null>`
- [x] last : `Promise<T>`
- [x] lastOrDefault : `Promise<T | null>`
- [x] single
- [x] singleOrDefault
- [x] contains
- [ ] sequenceEqual
- [x] sequenceEqual
- [x] any : `Promise<boolean>`
- [x] all : `Promise<boolean>`
- [x] count : `Promise<number>`
- [x] min : `Promise<number>`
- [x] max : `Promise<number>`
- [x] sum : `Promise<number>`
- [x] average
- [ ] aggregate
- [x] aggregate
- [x] toList : `Promise<T[]>`


### License

[MIT License](http:https://opensource.org/licenses/MIT)
11 changes: 11 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const del = require('del');
const gulp = require('gulp');

gulp.task('clean', function () {
return del('dist/**/*', { force: true });
});

gulp.task('rl', () => {
gulp.src('./dist/browser-lib/*.js')
.pipe(gulp.dest('./release'));
});
Loading

0 comments on commit e6a4965

Please sign in to comment.