How to use the ferrum.obj function in ferrum

To help you get started, we’ve selected a few ferrum examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github adobe / helix-pipeline / src / html / split-sections.js View on Github external
function computeMeta(section) {
  return obj(flat(map(selectAll('yaml', section), ({ payload }) => payload)));
}
github adobe / helix-pipeline / src / html / get-metadata.js View on Github external
function yaml(section) {
  const yamls = selectAll('yaml', section);
  section.meta = obj(flat(map(yamls, ({ payload }) => payload)));
  return section;
}

ferrum

Features from the rust language in javascript: Provides Traits/Type classes & an advanced library for working with sequences/iterators in js.

Apache-2.0
Latest version published 2 years ago

Package Health Score

62 / 100
Full package analysis