All Projects → isc30 → linq-collections

isc30 / linq-collections

Licence: MIT license
Strongly typed Linq and Collections implementation for Javascript and TypeScript (ECMAScript 5)

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to linq-collections

go-streams
Stream Collections for Go. Inspired in Java 8 Streams and .NET Linq
Stars: ✭ 127 (+13.39%)
Mutual labels:  linq, collections
lib12
lib12 is a library of universal helpers and extensions useful in any .NET project
Stars: ✭ 30 (-73.21%)
Mutual labels:  linq, collections
linqjs
Perform queries on collections in the manner of C#s System.Linq in JavaScript
Stars: ✭ 14 (-87.5%)
Mutual labels:  linq
SqlBatis
A high performance Micro-ORM supporting SQL Server, MySQL, Sqlite etc..
Stars: ✭ 34 (-69.64%)
Mutual labels:  linq
Keywords-Abstract-TFIDF-TextRank4ZH
使用tf-idf, TextRank4ZH等不同方式从中文文本中提取关键字,从中文文本中提取摘要和关键词
Stars: ✭ 26 (-76.79%)
Mutual labels:  collections
typedorm
Strongly typed ORM for DynamoDB - Built with the single-table-design pattern in mind.
Stars: ✭ 224 (+100%)
Mutual labels:  strongly-typed
fengyehong123.github.io
心血来潮的资源整理-闲暇之余就更新
Stars: ✭ 31 (-72.32%)
Mutual labels:  collections
typedb
TypeDB: a strongly-typed database
Stars: ✭ 3,152 (+2714.29%)
Mutual labels:  strongly-typed
js-linq
$linq is a Javascript version of .NET's Linq to Objects, with some query operations inspired by MoreLinq (an extension to Linq to Objects).
Stars: ✭ 34 (-69.64%)
Mutual labels:  linq
php-underscore
PHP underscore inspired &/or cloned from _.js, with extra goodies like higher order messaging
Stars: ✭ 42 (-62.5%)
Mutual labels:  collections
SwiftConcurrentCollections
Swift Concurrent Collections
Stars: ✭ 40 (-64.29%)
Mutual labels:  collections
VBCorLib
The VBCorLib framework brings many of the powerful .NET classes to VB6.
Stars: ✭ 81 (-27.68%)
Mutual labels:  collections
type-lite
type - Strong types for C++98, C++11 and later in a single-file header-only library
Stars: ✭ 25 (-77.68%)
Mutual labels:  strongly-typed
collections
📝 Collections library made in TypeScript
Stars: ✭ 14 (-87.5%)
Mutual labels:  collections
dotnet-arangodb
.NET Driver for ArangoDB
Stars: ✭ 52 (-53.57%)
Mutual labels:  linq
ObservableCollections
Observable Collectons for Android Kotlin apps. Observes adds, deletes etc.
Stars: ✭ 19 (-83.04%)
Mutual labels:  collections
linq
A familiar set of functions that operate on JavaScript iterables (ES2015+) in a similar way to .NET's LINQ does with enumerables.
Stars: ✭ 39 (-65.18%)
Mutual labels:  linq
LinqToXsdCore
LinqToXsd ported to .NET Core (targets .NET Standard 2 for generated code and .NET Core 3.1, .NET 5+ 6 for the code generator CLI tool).
Stars: ✭ 23 (-79.46%)
Mutual labels:  linq
laravel-record
What if Laravel's Collection and Model classes had a baby?
Stars: ✭ 21 (-81.25%)
Mutual labels:  collections
ksqlDB.RestApi.Client-DotNet
ksqlDb.RestApi.Client is a C# LINQ-enabled client API for issuing and consuming ksqlDB push queries and executing statements. SqlServer.Connector is a client API for consuming row-level table changes (CDC - Change Data Capture) from Sql Server databases with the Debezium connector streaming platform.
Stars: ✭ 44 (-60.71%)
Mutual labels:  linq

Linq-Collections: (IEnumerable, ...) + (List, Dictionary, ...)

npm version npm downloads build status coverage

Strongly typed Linq implementation for Javascript and TypeScript (ES5, ES6, +)
Includes collections (+ readonly versions): List, Dictionary, Stack, ...

Current Stable Version

https://github.com/isc30/linq-collections
This project was developed by Ivan Sanz (isc30)

The project is already finished, yet some features are missing. If you want to contribute with any of these, please check the Development status and missing features list
I will be happy to accept pull requests :D

Intellisense friendly

Every single method has complete type definitions available.
If you use TypeScript, its purely is based in generics.

[Insert motivational GIF with intellisense in action]

Browser compatibility: 100%

Using ES5, it has 100% compatibility with nodejs and all main browsers (+mobile)
Check your browser now if you don't believe it ->

Performance

Linq-Collections uses custom iterators and deferred execution mechanisms that ensure BLAZING FAST operations, outperforming any other popular library. Its also optimized to work with minimal CPU and RAM usage.

Why use it?

If previous reasons aren't enought, here are few more:

  • Javascript && TypeScript compatible - You can use it with JS or TypeScript (contains .d.ts definitions)
  • No dependencies - Pure and lightweight
  • 100% browser/nodejs support - Stop caring about compatibility, it works everywhere!
  • Strongly typed - Developed in TypeScript, it uses no 'any' or dirty code. Everything is based in generics and strongly typed
  • Best performance - Deferred execution with custom iterators make the difference. Currently the fastest library.
  • Works out of the box - 'npm install linq-collections' is the hardest thing you'll need to do
  • Collections - Provides many type of collections (list, dictionary, ... + readonly) with linq integrated inside. As in C#
  • Strict standard - Strictly implementing microsoft's official linq definition (you can check it for exceptions, behavior, etc)
  • Deeply tested - Each new version is passing tons of quality tests before being released

Using the package

Interfaces for this library are already designed. New versions won't break any old code. We strongly recommend using * for version selector

dependencies {
    "linq-collections": "1.*"
}

Features

Complete Linq to Objects implementation (deferred execution)

toArray, toList, toDictionary, toLookup, aggregate, all, any, average, concat, contains, count, defaultIfEmpty, distinct, elementAt, elementAtOrDefault, except, first, firstOrDefault, forEach, groupBy, groupJoin, intersect, join, last, lastOrDefault, longCount, max, min, orderBy, orderByDescending, reverse, select, selectMany, sequenceEquals, single, single, singleOrDefault, skip, skipWhile, sum, take, takeWhile, union, where, zip, ...

Collections (+ readonly versions)

List, Dictionary, Stack, Queue, ...

All Collections are Queryable

const list = new List<string>([
    "Hello",
    "Bye",
    "Thanks",
]);

const notHello = list.where(e => e !== "Hello");

How to run tests

This library uses mocha with custom assertion helper for testing.
Use nyc mocha to run the tests and coverage.

Hall of fame

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].