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.2.3 to 0.2.4

Concurrency/dropC.js

7

C.js

@@ -14,2 +14,3 @@ import tailC from './Concurrency/tailC.js';

import someC from './Concurrency/someC.js';
import dropC from "./Concurrency/dropC.js";

@@ -33,3 +34,4 @@ const C = {

calls: callsC,
some: someC
some: someC,
drop: dropC
};

@@ -51,3 +53,4 @@

callsC,
someC
someC,
dropC
}

@@ -1,6 +0,5 @@

import takeAllC from "./takeAllC.js";
import tail from "../tail.js";
import dropC from "./dropC.js";
export default function tailC(iter) {
return tail(takeAllC(iter));
return dropC(1, iter);
}

@@ -19,2 +19,3 @@ import deepFlatLazy from './Lazy/deepFlatLazy.js';

import intervalLazy from './Lazy/intervalLazy.js';
import dropLazy from "./Lazy/dropLazy.js";

@@ -49,3 +50,4 @@ const L = {

take_until: takeUntilLazy,
interval: intervalLazy
interval: intervalLazy,
drop: dropLazy
};

@@ -72,3 +74,4 @@

takeUntilLazy,
intervalLazy
intervalLazy,
dropLazy
}
{
"name": "fxjs2",
"version": "0.2.3",
"version": "0.2.4",
"description": "Functional Extensions for Javascript",

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

## FxJS - Functional Extensions for Javascript
FxJS는 자바스크립트의 기본 값을 이용하고, 이터러블 프로그래밍과 Promise를 강조한 함수형 프로그래밍 라이브러리입니다.
[EN](https://github.com/marpple/FxJS) | [KR](https://github.com/marpple/FxJS/blob/master/README_kr.md)
FxJS is a functional programming library that uses basic JavaScript values ​​and emphasizes repeatable programming and Promise.
### iterable

@@ -26,5 +28,5 @@

each(log));
// 1초 후 10
// 2초 후 11
// 3초 후 12
// After 1 second 10
// After 2 seconds 11
// After 3 seconds 12
```

@@ -43,6 +45,6 @@

each(log));
// 1초 후 30
// 2초 후 31
// 3초 후 32
// 4초 후 33
// After 1 second 30
// After 2 seconds 31
// After 3 seconds 32
// After 4 seconds 33

@@ -55,5 +57,5 @@ const res = await go(

reduce(add));
// 5초 후 20
// 6초 후 21
// 7초 후 22
// After 5 seconds 20
// After 6 seconds 21
// After 7 seconds 22

@@ -65,3 +67,3 @@ log(res);

### 설치
### Install

@@ -72,3 +74,3 @@ ```

### 목차
### API

@@ -81,3 +83,3 @@ - [map](#map)

- [L.filter](#L.filter)
- [go + try catch + 비동기 에러 핸들링](#go--try-catch--비동기-에러-핸들링)
- [go + try catch + Asynchronous error handling](#go--try-catch--Asynchronous-error-handling)
- [stop](#stop)

@@ -148,3 +150,3 @@

#### go + try catch + 비동기 에러 핸들링
#### go + try catch + Asynchronous error handling

@@ -151,0 +153,0 @@ ```javascript

@@ -1,9 +0,5 @@

import toIter from "./toIter.js";
import go1 from "./go1.js";
import takeAll from "./takeAll.js";
import drop from "./drop.js";
export function tail(iter) {
return go1(head(iter = toIter(iter)), _ => takeAll(iter));
}
export default tail;
export default function tail(iter) {
return drop(1, iter);
}
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