typescript-linq
v1.0.6
Published
A TypeScript LINQ implementation for the JavaScript version ES2015 a.k.a. ES6
Downloads
82
Maintainers
Readme
#TypeScript - LINQ for ECMAScript 2015
This is an implementation of the standard LINQ operators defined by Microsoft, in TypeScript.
See: Classification of Standard Query Operators by Manner of Execution (C#)
This project is the successor of an earlier LINQ project in TypeScript. The earlier project used it's own implementation of the iterator pattern. The current project uses the so called "iteration protocols" which are new in ECMAScript 2015.
The project itself is a Visual Studio solution completely written with "Visual Studio Community 2015" update 3 and TypeScript version 2.x.
There is a test suite available for this library at github. A full API documentation is available online and is also available as download for offline use.
All public classes and functions have a full set of documentation comments. So there is full IntelliSense support available in the code editor.
The code compiles with the TypeScript build settings "ECMAScript version" set to "ECMAScript 6". That is in fact an alias for "ECMAScript 2015". The code passes all tests running with the node runtime V6.6.0.
Please be aware that this library is intentionally compiled into ECMAScript 2015. The library is neither tested nor designed to run on Javascript engines which doesn't support the ECMAScript 2015 standard.
See: typescript-linq V1.0.X (npm package)
See: TypeScript-LINQ-Node-Test (Node.js test)
See: API-Documentation Offline
See: Iteration protocols
See: ECMAScript 2015
See: Visual Studio
Installation
Run the following command in a command or terminal window:
npm install typescript-linq
Add an import or require statement in your code:
import {TS} from './node_modules/typescript-linq/TS';
or:
const TS = require('typescript-linq/TS.js')
You may have to change the path to match you local setup.
##Further information
If you are looking for further information take a look at the complete project at github.
See: Complete project
##License
This software is licensed under the "Microsoft Public License".
See: MS-PL
The full license text is also available in the "Docs" directory in file "Microsoft_Public_License_(MS-PL).txt".
© [email protected], 2016