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

ponypipe

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

ponypipe

Ponyfill for the pipeline operator

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

ponypipe

Ponyfill for the pipeline operator ('Hello world!' |> console.log)

Installation and Usage

npm install ponypipe

pipe(sth, ...) syntax

import pipe from 'ponypipe'
# or
const { pipe } = require('ponypipe')

pipe('Hello world', x => x + '!', console.log)

sth.pipe(...) syntax

import { install } from 'ponypipe'
# or
const { install } = require('ponypipe')

install()

'Hello world'.pipe(x => x + '!', console.log)

Installation extends Object.prototype - if you don't want this to happen, use the pipe(sth, ...) syntax.

Keywords

pipeline

FAQs

Package last updated on 28 Feb 2018

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