https://github.com/molnarmark/pipey
The tiny (460b) way of using pipes in MTA.
https://github.com/molnarmark/pipey
lua mta mtasa multitheftauto pipeline pipeline-framework pipelines
Last synced: about 2 months ago
JSON representation
The tiny (460b) way of using pipes in MTA.
- Host: GitHub
- URL: https://github.com/molnarmark/pipey
- Owner: molnarmark
- License: mit
- Created: 2018-03-14T18:27:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-14T19:03:56.000Z (about 7 years ago)
- Last Synced: 2025-03-06T04:56:36.333Z (about 2 months ago)
- Topics: lua, mta, mtasa, multitheftauto, pipeline, pipeline-framework, pipelines
- Language: Lua
- Homepage:
- Size: 87.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
![]()
![]()
![]()
The tiny (439 bytes) way of using pipes in MTA.## Getting Started
### As a Resource
Pipey comes as a resource with an exported function that is `getPipey`, which makes a `Pipey` instance.### Or
You can drop `pipey.lua` into your project as it is *439 bytes* in total.## Usage
First, create a `Pipey` instance by using the following:
```lua
local Pipey = loadstring(getPipey())()
```Next, use it!
```lua
Pipey
:pipe(firstFunction)
:pipe(secondFunction)
:pipe(thirdFunction)Pipey:process()
```You can also take a look at the [example.lua](https://github.com/molnarmark/Pipey/blob/master/example.lua) file.
## License
`Pipey` comes licensed under the [MIT License](https://github.com/molnarmark/Pipey/blob/master/LICENSE).## Fancy buying me a beer?
If this project was helpful to you, you can buy me a beer if you feel like doing so. 🙂[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YM7E34E2LT4D8)