frame-js / Frame

Frame is a flow based programming library for databases, APIs, utilities, objects, schemas and more!
MIT License
17 stars 2 forks source link

Allow multiple blueprints to be initialized using array destructuring #2

Open bugs181 opened 5 years ago

bugs181 commented 5 years ago

Array destructing allows multiple blueprints to be included with minimal amount of syntax.

const [Mesh, HAM] = Frame(['Mesh', 'HAM'])

And multi-line

const [
  Movie,
  Song,
  HTML,
  React,
] = Frame([
  'Movie',
  'Song',
  'HTML',
  'React',
])

Resources: