You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
var schema = require('./')
|
|
var fs = require('fs')
|
|
|
|
var sch = schema.parse(fs.readFileSync('example.proto'))
|
|
|
|
console.log('Parsed schema:')
|
|
console.log(JSON.stringify(sch, null, 2))
|
|
console.log('')
|
|
|
|
console.log('Stringified schema:')
|
|
console.log(schema.stringify(sch))
|