New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

horpyna

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

horpyna - npm Package Compare versions

Comparing version 0.3.5 to 0.3.8

.travis.yml

3

package.json
{
"name": "horpyna",
"version": "0.3.5",
"version": "0.3.8",
"description": "promised modules flow control core library",

@@ -35,2 +35,3 @@ "main": "index.js",

"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.9.0",
"chai": "^3.5.0",

@@ -37,0 +38,0 @@ "chai-as-promised": "^5.3.0",

# HORPYNA
[![Build Status](https://travis-ci.org/uhlryk/horpyna.svg)](https://travis-ci.org/uhlryk/horpyna)
[![Downloads](https://img.shields.io/npm/dt/horpyna.svg)](https://www.npmjs.com/package/horpyna)
[![Downloads](https://img.shields.io/npm/dm/horpyna.svg)](https://www.npmjs.com/package/horpyna)
[![NPM version](https://img.shields.io/npm/v/horpyna.svg)](https://www.npmjs.com/package/horpyna)
Create basic component:
## SHORT DESCRIPTION
This module is for better organizing multiple async processes.
If you have:
import Horpyna from "horpyna";
var component = new Horpyna.Component();
* big amount async functions
* some of them run only if some conditions meet
* some of them run multiple times
* you are bored of long promise chains with inner conditional sub chains
* you want to reuse some parts of promise chains
Then this library is for your project!
Run component:
It helps with modularity, reusability and testify of your code.
## HOW DOES IT WORKS
component.run();
You split your code into smaller independent parts. Each of them you wrap into Horpyna Component. You customize
each component. And then it is funniest part. You can join components together, then built new components from
joined components. You can decorate components with other components to modify it functionality.
For example you can have component which consist of 5 other components. You can reuse it, and remove some inner components
and replace it with other components.
It is also easy to test. Each component have input and output. In test you set different input data and test
output values.
## INSTALLATION
npm install horpyna
## USAGE
*in ES6 syntax but you can use it with ES5 too*
[todo]
## LICENSE
MIT

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc