bids-validator icon indicating copy to clipboard operation
bids-validator copied to clipboard

1245 separate endpoints

Open david-nishi opened this issue 4 years ago • 1 comments

This is the first step in creating two distributions of the validator for both ES and CommonJS modules. The next will be to abstract file handling to a common API that will be passed from either endpoint to the common codebase.

Major changes:

  • Separated endpoints to /commonjs and /esm
  • pulled the start function out of bids and duplicated into each endpoint (this is where the different file handling will be done)
  • removed require() calls from the common codebase

david-nishi avatar Apr 27 '21 15:04 david-nishi

@nellh / @rwblair is this still relevant, or should we close it?

sappelhoff avatar Jul 21 '22 16:07 sappelhoff