New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@eslibs/pipe

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslibs/pipe

An js pipe

latest
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

Pipe

使用 Pipe 可以很方便的依次执行代码。

Feature

  • 依次执行代码
  • 支持取消
  • 支持设置一个准备状态,准备好之后再依次执行代码

Usage

via node

import { Pipe } from '@eslibs/pipe'

new Pipe().next(Function).next(Function)

via browser

<script src="https://unpkg.com/@eslibs/pipe@latest/dist/eslibs.umd.js"></script>

<script>
new ESLibs.Pipe().next(Function).next(Function)
</script>

via js module

<script type="importmap">
  {
    "imports": {
      "@eslibs/pipe": "https://unpkg.com/@eslibs/pipe@latest/dist/index.es.js"
    }
  }
</script>

<script type="module">
    import { Pipe } from '@eslibs/pipe'

    new Pipe().next(Function).next(Function)
</script>

License

MIT

Keywords

pipe

FAQs

Package last updated on 21 Aug 2022

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