# starflow

> Automate a part of your development workflow

Latest version **0.2.1** (published 2016-09-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install starflow
pnpm add starflow
yarn add starflow
bun add starflow
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2016-09-03 |
| First published | 2016-07-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Benoit Ruiz |
| Maintainers | bruiz |
| Keywords | starflow, automate, workflow |

## Links

- npm: https://www.npmjs.com/package/starflow
- Repository: https://github.com/Boulangerie/starflow
- Homepage: https://github.com/Boulangerie/starflow#readme
- Issues: https://github.com/Boulangerie/starflow/issues
- npm.io page: https://npm.io/package/starflow

## Dependencies (4)

- [rc](https://npm.io/package/rc.md) ^1.1.6
- [chalk](https://npm.io/package/chalk.md) ^1.0.0
- [lodash](https://npm.io/package/lodash.md) ^4.13.1
- [bluebird](https://npm.io/package/bluebird.md) ^3.4.1

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 0.2.1 (latest) — 2016-09-03
- 0.2.0 — 2016-09-03
- 0.1.2 — 2016-07-23

## README

<h1 align="center">Starflow</h1>
<p align="center">Automate your development workflows - <code>npm install starflow</code></p>

## What is Starflow?

Starflow provides some tools to automate the repetitive tasks you have to endure in your development workflow.
These tasks can be as complex as you like as long as you can write them as javascript modules. 

## Documentation

Want to start using Starflow? Want to create plugins? Want to know how Starflow works internally? Have a question about the project? Then check out our [Documentation page](docs/README.md)!

## Example

Let's assume you want to automate the following tasks:

- go to main git branch and update it
- create a new branch and check out to it

Then the following file would do it for you:

```js
// startDev.js

var starflow = require('starflow');

var args = process.argv.slice(2);
var steps = [
  {'$':                ['git', 'checkout', 'master']},
  {'$':                ['git', 'fetch', 'origin', 'master']},
  {'$':                ['git', 'rebase', 'origin/master', 'master']},
  {'git.createBranch': [args[0], true]} // create + checkout
];

var workflow = new starflow.Workflow(steps);
return workflow
  .addPlugin(require('starflow-shell'))
  .addPlugin(require('starflow-git'))
  .addAliases('$', 'shell.spawn')
  .run();
```

Then simply run `node startDev.js my-feature-branch` in your terminal.

## Want to contribute?

Anyone can help us improve this project. Feel free to read our [Contributing guide](CONTRIBUTING.md)!

---
_Source: https://npm.io/package/starflow · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
