You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

linq-utils

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linq-utils

A lightweight and easy-to-use library that provides LINQ-like query capabilities for JavaScript arrays.


Version published
Weekly downloads
211
decreased by-15.26%
Maintainers
1
Install size
32.8 kB
Created
Weekly downloads
 

Readme

Source

linq-utils - A lightweight and easy-to-use library that provides LINQ-like query capabilities for JavaScript arrays [Discord]

NPM NPM GitHub issues GitHub forks GitHub stars GitHub license Discord server

A lightweight implementation of LINQ-style operations for JavaScript/TypeScript with support for common array manipulations and data transformations.

Installation

npm install --save linq-utils

Usage

import Linq from 'linq-utils';

const numbers = [1, 2, 3, 4, 5];

const linq = new Linq<number>(numbers);

const result = linq
    .Where(x => x % 2 === 0)
    .Select(x => x * 2)
    .ToArray();

console.log(result); // [4, 8]

Keywords

FAQs

Package last updated on 03 Mar 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc