Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fxjs2

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fxjs2 - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

2

fx.js

@@ -9,3 +9,3 @@ export { default as minBy, default as min_by } from './minBy.js';

export { default as stop } from './stop.js';
export { default as ifStop, default as if_stop } from './ifStop.js';
export { default as stopIf, default as stop_if } from './stopIf.js';
export { default as take } from './take.js';

@@ -12,0 +12,0 @@ export { default as omit } from './omit.js';

{
"name": "fxjs2",
"version": "0.1.5",
"version": "0.1.6",
"description": "Functional Extensions for Javascript",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -65,4 +65,4 @@ ## FxJS - Functional Extensions for Javascript

```javascript
const lazy = L.map(a => a + 10, [1, 2, 3]);
take(2, lazy);
const iterator = L.map(a => a + 10, [1, 2, 3]);
take(2, iterator);
// [11, 12]

@@ -74,4 +74,4 @@ ```

```javascript
const lazy = L.filter(a => a % 2, [1, 2, 3, 4, 5]);
take(2, lazy);
const iterator = L.filter(a => a % 2, [1, 2, 3, 4, 5]);
take(2, iterator);
// [1, 3]

@@ -81,4 +81,4 @@ ```

```javascript
const lazy = L.filter(a => a % 2, L.map(a => a + 10, [1, 2, 3, 4, 5]));
take(2, lazy);
const iterator = L.filter(a => a % 2, L.map(a => a + 10, [1, 2, 3, 4, 5]));
take(2, iterator);
// [11, 13]

@@ -85,0 +85,0 @@ ```

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc