@miaou/railway-pipeline
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@miaou/railway-pipeline Double railway pipeline

Install

yarn add --exact @miaou/railway-pipeline

Get started

import { pipe } from '@miaou/railway-pipeline'

const result = await pipe(1)
    .next(value => value + 1)
    .next(value => Promise.resolve(value + 10))
    .end()

console.log(result) // { tag: 'success', success: 12 }

Development

How to use

yarn install

Test

You can use yarn link to debug the module

Release commit semantic

The release is automated by release-semantic plugin. When merge to master:

  • Generate tag version
  • Automate library versioning based on commit history
  • Generate changelog based on commit history
<type>(<scope>): <short summary>
  │       │             │
  │       │             └─⫸ Summary in present tense. Not capitalized. No period at the end.
  │       │
  │       └─⫸ Commit Scope: animations|bazel|benchpress|common|compiler|compiler-cli|core|ect.
  │
  └─⫸ Commit Type: build|ci|docs|feat|fix|perf|refactor|test
Usage
fix: testing patch releases
feat: testing minor releases
feat: testing major releases

BREAKING CHANGE: This is a breaking change.

Readme

Keywords

none

Package Sidebar

Install

npm i @miaou/railway-pipeline

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

6.09 kB

Total Files

6

Last publish

Collaborators

  • moifort