ndparser

0.0.4 • Public • Published

Ndparser

This package is the CoffeeScript implementation of rocambole, though not 100% compatible, and contains much less feature.

API

ndparser = require 'ndparser'
print = console.log
 
string =
  '''
    function hello() {
      console.log(3);
    }
  '''
 
ast = ndparser.parse string
ndparser.walk ast(node) ->
  print node.depthnode.type

License

MIT

/ndparser/

    Package Sidebar

    Install

    npm i ndparser

    Weekly Downloads

    1

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • albertnetymk