An NX middleware, responsible for handling loops and conditionals in the view.


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Feb 10, 2017Dec 31, 2016Minified + gzip package size for @nx-js/flow-middleware in KB


The flow middleware

The flow middleware is responsible for controlling visual flow in the HTML view.

  • name: flow
  • middleware dependencies: attributes
  • all middleware dependencies: observe, attributes
  • type: component or content middleware
  • ignores: text nodes
  • docs


npm install @nx-js/flow-middleware


const component = require('@nx-js/core')
const observe = require('@nx-js/observe-middleware')
const attributes = require('@nx-js/attributes-middleware')
const flow = require('@nx-js/flow-middleware')

<flow-comp @repeat="names" repeat-value="name">
  <p>The name is ${name}</p>

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.