How to use the @observablehq/parser.parseCell function in @observablehq/parser

To help you get started, we’ve selected a few @observablehq/parser 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 asg017 / unofficial-observablehq-compiler / src / compiler.js View on Github external
const cells = obj.nodes.map(({value}) => {
      const cell = parseCell(value);
      cell.input = value;
      return cell;
    });
    const resolve = this.resolve;

@observablehq/parser

An Acorn parser for Observable JavaScript

ISC
Latest version published 11 months ago

Package Health Score

67 / 100
Full package analysis

Similar packages