proposal-pipeline-operator

(★ 7,903)

A proposal for adding a useful pipe operator to JavaScript.

File Explorer

  • .editorconfig
  • .gitignore
  • .travis.yml
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • HISTORY.md
  • LICENSE.md
  • package-lock.json
  • package.json
  • README.md
  • spec.html

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

eval

View Details ▼

Execute arguments as a single command in the current shell and return its result.

eval "{{echo foo}}"

Call `echo` with the "foo" argument:

eval "{{foo=bar}}"

Set a variable in the current shell:

🔍

flow

View Details ▼

A static type checker for JavaScript.

flow

Run a flow check:

flow ls

Check which files are being checked by flow:

flow batch-coverage --show-all --strip-root {{path/to/directory}}

Run a type coverage check on all files in a directory:

🔍

node

View Details ▼

Server-side JavaScript platform (Node.js).

node {{path/to/file}}

Run a JavaScript file:

node

Start a REPL (interactive shell):

node --watch {{path/to/file}}

Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+):

// repository documentation