cherow-do-expressions-plugin

0.0.2 • Public • Published

Cherow DoExpression plugin

A ECMAScript Stage 1 plugin

Usage:

 cherow.parseScript(`let x = do {
          if (foo()) { f() }
          else if (bar()) { g() }
          else { h() }
        }; `, {
    raw: true,
    plugins: [DoExpressions]
});
 

Package Sidebar

Install

npm i cherow-do-expressions-plugin

Weekly Downloads

2

Version

0.0.2

License

ISC

Last publish

Collaborators

  • kennyf