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

Readme

Keywords

Package Sidebar

Install

npm i ndparser

Weekly Downloads

0

Version

0.0.4

License

MIT

Last publish

Collaborators

  • albertnetymk