Skip to content

cody-greene/vast-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vast-parser

This is a work in progress. VAST 3.0 parser. Ultimately converts XML into a plain old javascript object. This can stream the source XML from a local file or over http. This should also have decent test coverage, using mocha. Also, useful logging is provided with bunyan.

Testing

npm test will run the entire test suite. Use the -- separator to pass additional arguments into the test-runner (make sure you have the latest version of npm). See mocha for more options. If you only want to run certain tests, then try

# Match by test descriptor
npm test -- --grep='should work on a local file'
# Match by file name
npm test -- test/get

npm run trace will display detailed logs after running the tests. See bunyan for more options. Put it all together as a one-liner with

npm test -- test/parser; npm run trace -- --level debug

About

VAST 3.0 parser for node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published