{"id":22396181,"url":"https://github.com/hoehrmann/jsinq","last_synced_at":"2025-03-26T23:14:07.648Z","repository":{"id":2189900,"uuid":"3137789","full_name":"hoehrmann/jsinq","owner":"hoehrmann","description":"Fork of jsinq","archived":false,"fork":false,"pushed_at":"2012-01-09T16:17:48.000Z","size":147,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T04:43:32.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://jsinq.codeplex.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hoehrmann.png","metadata":{"files":{"readme":"readme.txt","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-09T16:03:43.000Z","updated_at":"2015-12-20T22:04:53.000Z","dependencies_parsed_at":"2022-08-28T05:31:07.360Z","dependency_job_id":null,"html_url":"https://github.com/hoehrmann/jsinq","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoehrmann%2Fjsinq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoehrmann%2Fjsinq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoehrmann%2Fjsinq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoehrmann%2Fjsinq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoehrmann","download_url":"https://codeload.github.com/hoehrmann/jsinq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245749907,"owners_count":20666086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T06:07:12.187Z","updated_at":"2025-03-26T23:14:07.628Z","avatar_url":"https://github.com/hoehrmann.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿-------------------------------------------------------------------------------\r\nJSINQ - LINQ to Objects for JavaScript, Version 1.0\r\nhttp://www.codeplex.com/jsinq\r\n\r\nCopyright (c) 2010 Kai Jäger. Some rights reserved.\r\n\r\nUse of the JSINQ source code is governed by an MIT-style license that can be \r\nfound in the license.txt file.\r\n-------------------------------------------------------------------------------\r\n\r\nWhat is JSINQ?\r\n\r\nJSINQ is a complete implementation of LINQ to Objects in JavaScript. LINQ \r\nstands for \"Language Integrated Query\" and it is a component of Microsoft's \r\n.NET framework. With LINQ, you can write SQL-like queries against in-memory\r\ncollections, relational databases, XML documents and many other data sources.\r\nLINQ to Objects, the part of LINQ that JSINQ implements in JavaScript, deals \r\nwith querying in-memory data structures such as arrays, lists, etc.\r\n\r\nRelease Notes for Version 1.0\r\n\r\n* jsinq-enumerable.js renamed to jsinq.js as it now also hosts the new types\r\n  jsinq.Dictionary and jsinq.List (see next two bullet points)\r\n  \r\n* New type jsinq.Dictionary, a faithful JavaScript implementation of \r\n  System.Collections.Generic.Dictionary. Supports both primitive and complex\r\n  keys (complex keys are supported with limited efficiency)\r\n\r\n* New type jsinq.List, a faithful JavaScript implementation of \r\n  System.Collections.Generic.List.\r\n\r\n* New test suite for jsinq.Dictionary  \r\n\r\n* New test suite for jsinq.List\r\n  \r\n* jsinq.Enumerable modified to use jsinq.Dictionary instead of specialized hash\r\n  type that was used in previous versions.\r\n  \r\n* New .NET 4.0 query operator \"zip\" added to jsinq.Enumerable\r\n\r\n* New method \"each\" for jsinq.Enumerable that simplifies enumeration\r\n\r\nHow to use JSINQ\r\n\r\n* Copy the files jsinq.js and jsinq-query.js from the build folder\r\n  to a location in your project folder.\r\n  \r\n* Embed the JavaScript files into your HTML page using the following code\r\n\r\n  \u003cscript type=\"text/javascript\" src=\"jsinq.js\"\u003e\u003c/script\u003e\r\n  \u003cscript type=\"text/javascript\" src=\"jsinq-query.js\"\u003e\u003c/script\u003e\r\n\r\n* Use JSINQ like this:\r\n\r\n  var data = [1, 2, 3];\r\n  var query = new jsinq.Query('from d in $0 select d');\r\n  query.setValue(0, new jsinq.Enumerable(data));\r\n  var result = query.execute();\r\n  result.each(function(element) {\r\n    document.write(element);\r\n  });\r\n  \r\n* Look at the examples in the samples folder and read the reference at\r\n  http://www.codeplex.com/jsinq\r\n  \r\n* Report bugs and give feedback. Thanks!\r\n\r\n\r\nKnown issues\r\n\r\n* The error messages generated by the query compiler are often inaccurate and\r\n  the line numbers referred to in the error message are often not where the\r\n  actual error is.\r\n  \r\n* The query compiler will fail to compile expressions that contain the new or\r\n  typeof operator without a trailing whitespace, e.g. new(Object) will fail.\r\n\r\n* The query parser does not currently understand regular expression literals.\r\n  If you wish to use regular expressions in your query, use new RegExp(...)\r\n  or define your regular expressions outside the query and pass them in via \r\n  placeholders (this is the preferred method).\r\n\r\n* The test suite for jsinq.Query is inadequate and only tests a handful of\r\n  mostly trivial queries.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoehrmann%2Fjsinq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoehrmann%2Fjsinq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoehrmann%2Fjsinq/lists"}