run-seq
run a series of tasks with next controller
It's useful for splitting multiple related tasks.
Installation
npm install run-seq# or use yarn yarn add run-seq
Usage
const tree = tagName: 'p' nodes: tagName: 'img' data: src: './img.png' tagName: 'text' text: 'lalalala' tagName: 'p' nodes: tagName: 'img' data: src: './img.png' tagName: 'text' text: 'lalalala' const html = html // => <p><img src="./img.png"><span>lalalala</span><p><img src="./img.png"><span>lalalala</span></p></p>
Contributing
- Fork it!
- Create your new branch:
git checkout -b feature-new
orgit checkout -b fix-which-bug
- Start your magic work now
- Make sure npm test passes
- Commit your changes:
git commit -am 'feat: some description (close #123)'
orgit commit -am 'fix: some description (fix #123)'
- Push to the branch:
git push
- Submit a pull request :)
Authors
This library is written and maintained by imcuttle, moyuyc95@gmail.com.
License
MIT - imcuttle 🐟