add index.js for usage with railroad-diagrams, maybe removed, if I know it better