
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
linq-tsglobal
Advanced tools
This package adds many commonly used .NET Linq methods directly to javascript's Array prototype on import. It does so by making use of Typescript's global modifying module pattern.
It is a fork of the linq.ts project, but moves all of the methods out of a separate List type and into the Array prototype.
$ npm install linq-tsglobal
Import linq-tsglobal at the top of your entry point file.
import 'linq-tsglobal';
Call linq methods directly on array objects.
let demoArray: string[] = ["Cat", "Dog", "Snake", "Seven"];
demoArray.remove("Seven");
demoArray.removeAt(1);
demoArray.insert(1, "Monkey");
// > ["Cat", "Monkey", "Snake"]
let numbersArray: number[] = [1, 2, 3, 4, 5];
let arr = numbersArray
.Where(x => x > 3)
.Select(y => y * 2);
// > [8, 10]
TODO: Add updated test coverage.
Modified linq-tsglobal project distributed under MIT © linq-tsglobal Contributors.
Original linq.ts project distributed under MIT © Flavio Corpa.
FAQs
LinQ + TypeScript, now added directly to the Array prototype.
We found that linq-tsglobal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.